Description
The STARTTLS implementation in ftp_parser.c in Pure-FTPd before 1.0.30 does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted FTP sessions by sending a cleartext command that is processed after TLS is in place, related to a "plaintext command injection" attack, a similar issue to CVE-2011-0411.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | pure-ftpd | 1.0.30-1 | — |
| Debian 12 | pure-ftpd | 1.0.30-1 | — |
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.
GitHub 1 repository
-
masamoon/cve-2011-1575-poc ★ 0 · Oct 17, 2017
Very simple script to test for cve 2011-1575
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- [oss-security] 20110411 Re: pure-ftpd STARTTLS command injection / new CVE? mailing-list
- SUSE-SR:2011:009 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=683221
- [pure-ftpd] 20110308 Pure-FTPd 1.0.30 has been released mailing-list
- [opensuse-updates] 20110512 openSUSE-SU-2011:0483-1 (moderate): New pure-ftpd version fix STARTTLS issues (CVE-2011-1575). mailing-list
- 43988 third-party-advisory
- [oss-security] 20110411 Re: pure-ftpd STARTTLS command injection / new CVE? mailing-list
- 44548 third-party-advisory
- [oss-security] 20110411 Re: pure-ftpd STARTTLS command injection / new CVE? mailing-list
- [oss-security] 20110411 pure-ftpd STARTTLS command injection / new CVE? mailing-list
- http://www.pureftpd.org/project/pure-ftpd/news
- https://bugzilla.novell.com/show_bug.cgi?id=686590
- [pure-ftpd] 20110308 Re: Pure-FTPd 1.0.30 has been released mailing-list
- https://github.com/jedisct1/pure-ftpd/commit/65c4d4ad331e94661de763e9b5304d28698999c4