Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security FullDisclosure
[Top] [All Lists]

[Full-disclosure] NULL pointer in SurgeFTP 2.3a2

Subject: [Full-disclosure] NULL pointer in SurgeFTP 2.3a2
Date: Mon, 25 Feb 2008 23:11:12 +0100

#######################################################################

                             Luigi Auriemma

Application:  SurgeFTP
              http://www.netwinsite.com/surgeftp/
Versions:     <= 2.3a2
Platforms:    Windows, Linux and Solaris
Bug:          NULL pointer access
Exploitation: remote
Date:         25 Feb 2008
Author:       Luigi Auriemma
              e-mail: aluigi@autistici.org
              web:    aluigi.org


#######################################################################


1) Introduction
2) Bug
3) The Code
4) Fix


#######################################################################

===============
1) Introduction
===============


SurgeFTP is a commercial FTP server which supports also SSL/TLS and has
a web interface for remote administration.


#######################################################################

======
2) Bug
======


When a Content-Length parameter is received from the client, SurgeFTP
tries to allocate the amount of memory (max 2147483647 bytes) specified
in this field and then copies the data in the resulted new buffer.
The problem is in the lack of checks on the result of the allocation
which leads to the crash of the entire server during the copying of the
data to a NULL pointer if that amount of memory cannot be allocated.


#######################################################################

===========
3) The Code
===========


http://aluigi.org/poc/surgeftpizza.txt

  nc SERVER 7021 -v -v < surgeftpizza.txt


#######################################################################

======
4) Fix
======


No fix


#######################################################################


--- 
Luigi Auriemma
http://aluigi.org

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

<Prev in Thread] Current Thread [Next in Thread>
  • [Full-disclosure] NULL pointer in SurgeFTP 2.3a2, Luigi Auriemma <=