Description
Tunnelblick 3.3beta20 and earlier relies on argv[0] to determine the name of an appropriate (1) kernel module pathname or (2) executable file pathname, which allows local users to gain privileges via an execl system call.
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
-
Setuid Tunnelblick Privilege Escalation
exploit/osx/local/setuid_tunnelblick
Exploit-DB 2
- Tunnelblick - Setuid Privilege Escalation (Metasploit) EDB-24578 · local · Mar 5, 2013 · verified
- Tunnelblick - Local Privilege Escalation (2) EDB-20443 · local · Aug 11, 2012 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- [oss-security] 20120812 Re: Tunnel Blick: Multiple Vulnerabilities to Local Root and DoS (OS X) mailing-list
- http://git.zx2c4.com/Pwnnel-Blicker/tree/pwnnel-blicker-for-kids.sh
- http://code.google.com/p/tunnelblick/issues/detail?id=212
- 20120811 OS X Local Root: Silly SUID Helper in Tunnel Blick mailing-list
- 24578 exploit