Description
Buffer overflow in the glob implementation (glob.c) in libc in NetBSD-current before 20050914, NetBSD 2.* and 3.* before 20061203, and Apple Mac OS X before 2007-004, as used by the FTP daemon and tnftpd, allows remote authenticated users to execute arbitrary code via a long pathname that results from path expansion.
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 2
- NetBSD 3.1 - 'FTPd / Tnftpd' Port Remote Buffer Overflow EDB-29204 · dos · Dec 1, 2006 · verified
- NetBSD - 'FTPd / Tnftpd' Remote Stack Overflow (PoC) EDB-2874 · dos · Nov 30, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 24966 third-party-advisory
- NetBSD-SA2006-027 vendor-advisory
- 1017386 vdb-entry
- http://docs.info.apple.com/article.html?artnum=305391
- netbsd-ftpd-glob-bo(30670) vdb-entry
- 31781 vdb-entry
- TA07-109A third-party-advisory
- 23178 third-party-advisory
- 20061201 NetBSD FTPD and ports ***REMOTE ROOOOOT HOLE*** mailing-list
- APPLE-SA-2007-04-19 vendor-advisory
- 21377 vdb-entry
- ADV-2007-1470 vdb-entry