### [CVE-2015-5889](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5889) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### 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. ### POC #### Reference - http://packetstormsecurity.com/files/133826/issetugid-rsh-libmalloc-OS-X-Local-Root.html - http://packetstormsecurity.com/files/133826/issetugid-rsh-libmalloc-OS-X-Local-Root.html - http://packetstormsecurity.com/files/134087/Mac-OS-X-10.9.5-10.10.5-rsh-libmalloc-Privilege-Escalation.html - http://packetstormsecurity.com/files/134087/Mac-OS-X-10.9.5-10.10.5-rsh-libmalloc-Privilege-Escalation.html - https://www.exploit-db.com/exploits/38371/ - https://www.exploit-db.com/exploits/38371/ - https://www.exploit-db.com/exploits/38540/ - https://www.exploit-db.com/exploits/38540/ #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/TH3-HUNT3R/Root-MacOS - https://github.com/ruxzy1/rootOS - https://github.com/thehappydinoa/rootOS