what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

NicoFTP30119.txt

NicoFTP30119.txt
Posted Jan 4, 2006
Authored by K4P0

NicoFTP version 3.0.1.19 suffers from a stack overflow vulnerability in the population of a new user account.

tags | advisory, overflow
SHA-256 | ca53cccf092e878bd55c323db068281845524e5d636cc13eb0e47a819a869ac1

NicoFTP30119.txt

Change Mirror Download
/* 
* Name: NicoFTP Stack Overflow
* Version: 3.0.1.19
* Developer: NicoSW
* Developer site: www.nicosw.com (Offline)
* Developer contact: nicoftp[at]nicosw[dot]com
* Discovered by: K4P0 <k4p0k4p0[at]hotmail[dot]com>
* Founded: 12/29/2005 (MM/DD/YYYY)
* Published: 01/01/2006 (MM/DD/YYYY)
*/

-- Intro

NicoFTP is a Freeware, ligth, simple and fast FTP client program. This bug affects this software on version 3.0.1.19 and erlier ones.

-- Bug

A simple stack overflow.

-- Fix

It isn't an open-source software, but it could be fixed by checking the length of the personalizable name of the FTP site before storing it into memory.

-- Exploit

A new FTP (or modify) account must be created; when filling the 'Name of site' , write 4101 random characters, then write 4 characters more that will produce the Stack Overflow by trying to access to that address.
It's a better idea to modify the 'Name' value through the Sites.conf.(The 'Name' field it's located between [ ]).

I didn't have success by trying to make the exploit, because it executes many instructions using registers that are also overwrited, so when it trys to read the address form the registers (precisely eax & ebx) it goes to a nonexisten address, such as 0x41414141.
I tryed to modify the addresses where the registers pointed at, but it's almost impossible.

As a proof of concept you can try to write a string in the corresponding field taking care how many characters you write; if you wanna try, follow the above instructions.
You can find a string I made in : www.usuarios.lycos.es/altohack/adv/NicoFTPProof.txt
Login or Register to add favorites

File Archive:

August 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    15 Files
  • 2
    Aug 2nd
    22 Files
  • 3
    Aug 3rd
    0 Files
  • 4
    Aug 4th
    0 Files
  • 5
    Aug 5th
    15 Files
  • 6
    Aug 6th
    11 Files
  • 7
    Aug 7th
    43 Files
  • 8
    Aug 8th
    42 Files
  • 9
    Aug 9th
    36 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close