CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2006-5815

Stack-based buffer overflow in the sreplace function in ProFTPD 1.3.0 and earlier allows remote attackers, probably authenticated, to cause a denial of service and execute arbitrary code, as demonstrated by vd_proftpd.pm, a "ProFTPD remote exploit."
Publish Date : 2006-11-08 Last Update Date : 2010-09-15
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
10.0
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Low (Specialized access conditions or extenuating circumstances do not exist. Very little knowledge or skill is required to exploit. )
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access Admin
Vulnerability Type(s) Denial Of ServiceExecute CodeOverflow
CWE ID 119

- Products Affected By CVE-2006-5815

# Product Type Vendor Product Version Update Edition Language
1 Application Proftpd Project Proftpd 1.3.0 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Proftpd Project Proftpd 1

- References For CVE-2006-5815

http://secunia.com/advisories/22803
SECUNIA 22803
http://bugs.proftpd.org/show_bug.cgi?id=2858 CONFIRM
http://secunia.com/advisories/22821
SECUNIA 22821
http://secunia.com/advisories/23000
SECUNIA 23000
http://secunia.com/advisories/23069
SECUNIA 23069
http://secunia.com/advisories/23125
SECUNIA 23125
http://secunia.com/advisories/23174
SECUNIA 23174
http://secunia.com/advisories/23179
SECUNIA 23179
http://secunia.com/advisories/23184
SECUNIA 23184
http://secunia.com/advisories/23207
SECUNIA 23207
http://securitytracker.com/id?1017167
SECTRACK 1017167
http://slackware.com/security/viewer.php?l=slackware-security&y=2006&m=slackware-security.502491
SLACKWARE SSA:2006-335-02
http://www.debian.org/security/2006/dsa-1222
DEBIAN DSA-1222
http://www.frsirt.com/english/advisories/2006/4451
VUPEN ADV-2006-4451
http://www.gentoo.org/security/en/glsa/glsa-200611-26.xml
GENTOO GLSA-200611-26
http://www.trustix.org/errata/2006/0070
TRUSTIX 2006-0070
http://www.trustix.org/errata/2006/0066/
TRUSTIX 2006-0066
http://www.securityfocus.com/bid/20992
BID 20992 ProFTPD SReplace Remote Buffer Overflow Vulnerability Release Date:2007-11-15
http://www.securityfocus.com/archive/1/archive/1/452760/100/200/threaded
BUGTRAQ 20061127 CVE-2006-5815: remote code execution in ProFTPD
http://www.openpkg.org/security/advisories/OpenPKG-SA-2006.035-proftpd.html
OPENPKG OpenPKG-SA-2006.035
http://www.mandriva.com/security/advisories?name=MDKSA-2006:217
MANDRIVA MDKSA-2006:217
http://www.mandriva.com/security/advisories?name=MDKSA-2006:217-1
MANDRIVA MDKSA-2006:217-1
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214820 CONFIRM
http://xforce.iss.net/xforce/xfdb/30147
XF proftpd-code-execution(30147)

- Metasploit Modules Related To CVE-2006-5815

ProFTPD 1.2 - 1.3.0 sreplace Buffer Overflow (Linux)
This module exploits a stack-based buffer overflow in versions 1.2 through 1.3.0 of ProFTPD server. The vulnerability is within the "sreplace" function within the "src/support.c" file. The off-by-one heap overflow bug in the ProFTPD sreplace function has been discovered about 2 (two) years ago by Evgeny Legerov. We tried to exploit this off-by-one bug via MKD command, but failed. We did not work on this bug since then. Actually, there are exists at least two bugs in sreplace function, one is the mentioned off-by-one heap overflow bug the other is a stack-based buffer overflow via 'sstrncpy(dst,src,negative argument)'. We were unable to reach the "sreplace" stack bug on ProFTPD 1.2.10 stable version, but the version 1.3.0rc3 introduced some interesting changes, among them: 1. another (integer) overflow in sreplace! 2. now it is possible to reach sreplace stack-based buffer overflow bug via the "pr_display_file" function! 3. stupid '.message' file display bug So we decided to choose ProFTPD 1.3.0 as a target for our exploit. To reach the bug, you need to upload a specially created .message file to a writeable directory, then do "CWD <writeable directory>" to trigger the invocation of sreplace function. Note that ProFTPD 1.3.0rc3 has introduced a stupid bug: to display '.message' file you also have to upload a file named '250'. ProFTPD 1.3.0 fixes this bug. The exploit is a part of VulnDisco Pack since Dec 2005.
Module type : exploit Rank : great Platforms : Linux


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.