Unpatched 'Tpwn' Mac OS X Bug Could Grant Root Privileges

Researchers beginning to find more cracks in Mac operating systems.

Sara Peters, Senior Editor

August 18, 2015

1 Min Read
Dark Reading logo in a gray background | Dark Reading

Just days after Apple patched a local privilege escalation vulnerability in OS X that would grant attackers root access, they are working to patch another one.

Sunday, Italian researcher Luca Todesco published proof-of-concept code to GitHub for "Tpwn," a memory corruption bug in the kernel of OS X versions 10.9.5 (Mavericks) through 10.10.5 (Yosemite). It does not affect the forthcoming version, OS X El Capitan, which is now in beta.

As Todesco explained to MacWorld, "The memory corruption condition can then be used to circumvent kernel address space layout randomization (kASLR), a defensive technique designed to thwart exploit code from running. The attacker then gains a root shell."

Todesco created a kernel extension called NULLGuard to protect against tpwn, but later recommended users instead install SUIDGuard, a TrustedBSD kernel extension created by Mac security researcher Stefan Esser.

Todesco published the code for Tpwn just hours after he disclosed the vulnerability to Apple, for which he has received some public criticism.   

Tpwn arrives just six days after Apple patched the DYLD_PRINT_TO_FILE vulnerability in OS X Yosemite discovered last month -- a bug in an environment variable that also enabled root access.

Other cracks were found in Mac OS X recently by Synack director of research Patrick Wardle. At Black Hat Las Vegas this month, Wardle revealed exploits he'd written that circumvents Gatekeeper, OS X's mechanism for preventing unsigned code from running. 

About the Author

Sara Peters

Senior Editor

Sara Peters is Senior Editor at Dark Reading and formerly the editor-in-chief of Enterprise Efficiency. Prior that she was senior editor for the Computer Security Institute, writing and speaking about virtualization, identity management, cybersecurity law, and a myriad of other topics. She authored the 2009 CSI Computer Crime and Security Survey and founded the CSI Working Group on Web Security Research Law -- a collaborative project that investigated the dichotomy between laws regulating software vulnerability disclosure and those regulating Web vulnerability disclosure.


Keep up with the latest cybersecurity threats, newly discovered vulnerabilities, data breach information, and emerging trends. Delivered daily or weekly right to your email inbox.

You May Also Like


More Insights