Table Of Contents
Serious security flaw in Apple’s Mac OS X Yosemite ‘Rootpipe’
Swedish hacker Emil Kvarnhammar of Truesec has found a serious vulnerability in Apple’s Mac OS Yosemite ‘Rootpipe’ The Proof of Concept (PoC) is not available and the details sketchy about this vulnerability because Apple has asked Emil not to disclose it until January 2015. The fact that Apple has asked Emil not to disclose the vulnerability to public means that Apple has not denied the flaw and if it exists, Apple should be releasing the patch before then to fix this vulnerability.
Details on the #rootpipe exploit will be presented, but not now. Let's just give Apple some time to roll out a patch to affected users.
— Emil Kvarnhammar (@emilkvarnhammar) October 16, 2014
The ‘Rootpipe’ vulnerability
An unknown security flaw in Appleโs operating system can allow hackers to take control of your computer. The backdoor has the working title โRootPipeโ โ and was discovered by chance. Millions of Apple computers worldwide may be affected.
Hackers can gain the highest possible access over your computer. Then they are free to install software or make changes to your system โ without you noticing anything.
This can lead to your passwords, pictures, emails or bank account information getting hijacked.
White Hat hacking
Emil found the vulnerability by accident or so he claims, โIt all started when I was preparing for two security events, one in Stockholm and one in Malmรถ,โ Emil says. โI wanted to show a flaw in Mac OS X, but relatively few have been published. There are a few โproof of conceptsโ online, but the latest I found affected the older 10.8.5 version of OS X. I couldnโt find anything similar for 10.9 or 10.10.โ
Mac users tend to keep their OS more up to date than Windows users, he says, and he wanted to find a vulnerability that would affect current users, so he started digging around in the newer versions of OS X.
โI started looking at the admin operations and found a way to create a shell with root privileges,โ he says. โIt took a few days of binary analysis to find the flaw, and I was pretty surprised when I found it.โ
He tested the vulnerability on version 10.8.5 of the OS and got it to work, he says. Then he tried on 10.9 but with no luck.
โI was a bit dejected but continued to investigate,โ Emil said. โThere were a few small differences [in later releases] but the architecture was the same. With a few modifications I was able to use the vulnerability in the latest Mac OS X, version 10.10.โ
When heโs trying to find vulnerabilities in an OS, he said, he tries to get a feel for how the developer was thinking. In this case, Apple had migrated and moved some functions, but basically the same flaws remained.
โNormally there are โsudoโ password requirements, which work as a barrier, so the admin canโt gain root access without entering the correct password. However, rootpipe circumvents this,โ he says.
Apple’s Response
When Emil contacted Apple about the vulnerability he says, he was initially met with silence. ย However there was a flurry of correspondence with Apple asking for more details. ย After these details were sent, Apple asked ย TrueSec and Emil not to disclose until next January, which in essence means that the flaw exists unless Apple comes out with a statement denying that.
Emil said, “The current agreement with Apple is to disclose all details in mid-January 2015. This might sound like a long wait, but hey, time flies. It’s important that they have time to patch, and that the patch is available for some time.”
When asked by TechWorld Sweden about the vulnerability and specifics of the PoC, Emil cited the confidentiality clause with Apple, “I can’t get into that too much; I’ll get back to you when we can provide more information.”ย Meanwhile, he reported the issue to US-CERT, which may issue a advisory if it find the flaw ‘serious’.
Meanwhile here is a video of his initial findings released by Emil :