Description
Buffer overflow in mailx mail command (aka Mail) on Linux systems allows local users to gain privileges via a long -c (carbon copy) parameter.
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
- BSD 'mailx' 8.1.1-10 - Local Buffer Overflow (1) EDB-19991 · local · Jun 2, 2000 · verified
- mailx 8.1.1-10 (BSD/Slackware) - Local Buffer Overflow (2) EDB-19992 · local · Jul 3, 1999 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 1305 vdb-entry
- 20000602 /usr/bin/Mail exploit for Slackware 7.0 (mail-slack.c) mailing-list
- 20000605 mailx: mail group exploit in mailx vendor-advisory