Description
ProFTPD 1.2.7 through 1.2.9rc2 does not properly translate newline characters when transferring files in ASCII mode, which allows remote attackers to execute arbitrary code via a buffer overflow using certain files.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 3
- ProFTPd 1.2.7 < 1.2.9rc2 - Remote Code Execution / Brute Force EDB-110 · remote · Oct 13, 2003 · verified
- ProFTPd 1.2.9 rc2 - '.ASCII' File Remote Code Execution (1) EDB-107 · remote · Oct 4, 2003 · verified
- ProFTPd 1.2.7/1.2.8 - '.ASCII' File Transfer Buffer Overrun EDB-23170 · dos · Sep 23, 2003 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20031013 Remote root exploit for proftpd \n bug mailing-list
- 20030923 ProFTPD ASCII File Remote Compromise Vulnerability third-party-advisory
- VU#405348 third-party-advisory
- proftpd-ascii-xfer-newline-bo(12200) vdb-entry
- 107 exploit
- 20031014 Another ProFTPd root EXPLOIT ? mailing-list
- 9829 third-party-advisory
- 20030924 [slackware-security] ProFTPD Security Advisory (SSA:2003-259-02) mailing-list
- MDKSA-2003:095 vendor-advisory