Rootpipe is a security vulnerability found in some versions of OS X that allows privilege escalation whereby a user with administrative rights, or a program executed by an administrative user, can obtain superuser (root) access. This is considered problematic as the first user account created under OS X is furnished with administrator rights by default. By leveraging other security vulnerabilities on a system, such as an unpatched web browser, rootpipe could be used by an attacker to help gain complete control of the operating system.
Emil Kvarnhammar of TrueSec, a security firm credited with the discovery, says that he found the vulnerability after several days of binary analysis. He recommends creating an account without administrative privileges to be used for normal everyday work, and using FileVault.
An older exploit for the same issue was later published on exploit-db suggesting the issue dates back to June 2010. It appears the exploit was used by the author during a presentation on Trusteer Rapport at 44con 2011 .
The vulnerability was reported to Apple Inc. in October 2014, and has been reported as present in OS X versions 10.7.5, 10.8.2, 10.9.5 and 10.10.2. OS X 10.10.3 was officially designated as patched by Apple, but Kvarnhammar (crediting Patrick Wardle) has blogged that the vulnerability is still present in that version. On 1 July 2015, Kvarnhammer noted that additional restrictions had been introduced in OS X 10.10.4, adding in a comment two days later that he believed the then-current versions of OS X 10.9 (with Security Update 2015-005) and 10.10 to be safe from the exploit.
In November 2017, a similar vulnerability was revealed which allowed logging in as root with no password.
- Nadine Juliana Dressler. "Achtung vor Rootpipe: Super-User-Rechte ohne Passwort am Mac".
- "Apple Mac OSX < 10.9/10 - Privilege Escalation". exploit-db. 13 April 2015.
- "Trusteer Rapport, Neil Kettle - 44CON 2011". youtube. 23 October 2011.
- "Swedish hacker finds 'serious' vulnerability in OS X Yosemite". Macworld. 31 October 2014.
- Fabian Scherschel (firstname.lastname@example.org) (2015-04-18). "Root-Lücke in OS X". c't. Heise. 2015 (10): 49.
- "OS X 10.10.3 still vulnerable".
- Krystle Vermes (21 April 2015). "Rootpipe continues: Former NSA staffer finds Mac vulnerability - Digital Trends". Digital Trends.
- "Exploiting rootpipe again".
- "Apple rushes to fix major password bug". BBC.