Description
Format string vulnerability in the msg command (cat_message function in msg.c) in OpenFTPD 0.30.2 and earlier allows remote authenticated users to execute arbitrary code via format string specifiers in the message argument.
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 2
- OpenFTPd 0.30.1 - message system Remote Shell EDB-373 · remote · Aug 4, 2004 · verified
- OpenFTPd 0.30.2 - Remote Overflow EDB-372 · remote · Aug 3, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20040803 EXPLOIT for Re: [VSA0402] OpenFTPD format string vulnerability mailing-list
- 12174 third-party-advisory
- 1010823 vdb-entry
- openftpd-ncftpformat-string(16843) vdb-entry
- http://www.openftpd.org:9673/openftpd
- 20040729 [VSA0402] OpenFTPD format string vulnerability mailing-list
- 8261 vdb-entry
- 10830 vdb-entry