Description
Buffer overflows in BSD-based FTP servers allows remote attackers to execute arbitrary commands via a long pattern string containing a {} sequence, as seen in (1) g_opendir, (2) g_lstat, (3) g_stat, and (4) the glob0 buffer as used in the glob functions glob2 and glob3.
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.
Exploit-DB 3
- FreeBSD 4.2-stable - FTPd 'glob()' Remote Buffer Overflow EDB-20732 · remote · Apr 16, 2001 · verified
- OpenBSD 2.x < 2.8 FTPd - 'glob()' Remote Buffer Overflow EDB-20733 · remote · Apr 16, 2001 · verified
- FreeBSD 2.2-4.2 / NetBSD 1.2-4.5 / OpenBSD 2.x - FTPd 'glob()' Remote Buffer Overflow EDB-20731 · remote · Apr 14, 2001 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- FreeBSD-SA-01:33 vendor-advisory
- 2548 vdb-entry
- 20010409 Globbing Vulnerabilities in Multiple FTP Daemons vendor-advisory
- CA-2001-07 third-party-advisory
- ftp-glob-expansion(6332) vdb-entry