Apple OS X XNU HFS_GETPATH Buffer Overflow Privilege Escalation Vulnerability

ID ZDI-15-122
Type zdi
Reporter lokihardt@ASRT
Modified 2015-11-09T00:00:00


This vulnerability allows attackers to execute arbitrary code on vulnerable installations of Apple OS X. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within XNU HFS_GETPATH. This does not check the length of an attacker-supplied string before copying it into a fixed length buffer. This allows an attacker to execute arbitrary code in the context of the kernel.