Description
cdrecord in the cdrtools package before 2.01, when installed setuid root, does not properly drop privileges before executing a program specified in the RSH environment variable, which allows local users to gain privileges.
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
- CDRecord's ReadCD - Local Privilege Escalation EDB-469 · local · Sep 19, 2004 · verified
- CDRecord's ReadCD - '$RSH exec()' SUID Shell Creation EDB-438 · local · Sep 11, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 11075 vdb-entry
- 1011091 vdb-entry
- MDKSA-2004:091 vendor-advisory
- 20040909 Bugtraq: cdrecord local root exploit mailing-list
- 20040910 CAU-EX-2004-0002: cdrecord-suidshell.sh mailing-list
- FLSA:2058 vendor-advisory
- VU#700326 third-party-advisory
- 19532 third-party-advisory
- oval:org.mitre.oval:def:9805 vdb-entry signature
- 12481 third-party-advisory
- cdrecord-rsh-gain-privileges(17303) vdb-entry