Advisory Details

September 20th, 2016

Apple OS X AppleHSSPIHIDDriver Buffer Overflow Privilege Escalation Vulnerability

ZDI-16-521
ZDI-CAN-3822

CVE ID CVE-2016-4697
CVSS SCORE 6.9, AV:L/AC:M/Au:N/C:C/I:C/A:C
AFFECTED VENDORS Apple
AFFECTED PRODUCTS OS X
VULNERABILITY DETAILS


This vulnerability allows local attackers to execute arbitrary code on vulnerable installations of Apple OS X. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

The specific flaw exists within the AppleHSSPIHIDDriver kext. The issue lies in the failure to properly validate the length of user-supplied data prior to copying it to a buffer. An attacker can leverage this vulnerability to escalate privileges under the context of the kernel.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
https://support.apple.com/en-us/HT207170
DISCLOSURE TIMELINE
  • 2016-06-14 - Vulnerability reported to vendor
  • 2016-09-20 - Coordinated public release of advisory
CREDIT Qidan He(@flanker_hqd) from KeenLab
BACK TO ADVISORIES