Description
rsh in the remote_cmds component in Apple OS X before 10.11 allows local users to obtain root privileges via vectors involving environment variables.
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.
Metasploit 1 module
-
Mac OS X 10.9.5 / 10.10.5 - rsh/libmalloc Privilege Escalation
exploit/osx/local/rsh_libmalloc
Exploit-DB 2
- Apple Mac OSX 10.9.5/10.10.5 - 'rsh/libmalloc' Local Privilege Escalation (Metasploit) EDB-38540 · local · Oct 27, 2015 · verified
- Apple Mac OSX 10.9.5/10.10.5 - 'rsh/libmalloc' Local Privilege Escalation EDB-38371 · local · Oct 1, 2015 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.rapid7.com/db/modules/exploit/osx/local/rsh_libmalloc
- 1033703 vdb-entry
- APPLE-SA-2015-09-30-3 vendor-advisory
- 20151001 Mac OS X local root (rsh/libmalloc) mailing-list
- http://packetstormsecurity.com/files/133826/issetugid-rsh-libmalloc-OS-X-Local-Root.html
- https://support.apple.com/HT205267
- 38540 exploit
- 76908 vdb-entry
- 38371 exploit
- http://packetstormsecurity.com/files/134087/Mac-OS-X-10.9.5-10.10.5-rsh-libmalloc-Privilege-Escalation.html