Advisory Details

March 30th, 2021

Apple macOS AppleIntelKBLGraphics IOCTL 0x1000A Out-Of-Bounds Write Privilege Escalation Vulnerability

ZDI-21-386
ZDI-CAN-11585

CVE ID CVE-2020-27897
CVSS SCORE 7.8, AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS Apple
AFFECTED PRODUCTS macOS
VULNERABILITY DETAILS

This vulnerability allows local attackers to escalate privileges on affected installations of Apple macOS. 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 handling of IOCTL 0x1000A in the AppleIntelKBLGraphics kext. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated data structure. An attacker can leverage this vulnerability to escalate privileges and execute code in 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/HT212011
DISCLOSURE TIMELINE
  • 2020-09-18 - Vulnerability reported to vendor
  • 2021-03-30 - Coordinated public release of advisory
CREDIT ABC Research s.r.o.
BACK TO ADVISORIES