vendor:
MacOS
by:
ianbeer
7,8
CVSS
HIGH
Out-of-Bounds Read
125
CWE
Product Name: MacOS
Affected Version From: MacOS 10.13
Affected Version To: MacOS 10.13
Patch Exists: YES
Related CWE: N/A
CPE: o:apple:mac_os_x:10.13
Metasploit:
N/A
Other Scripts:
N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References:
N/A
Nuclei Metadata: N/A
Platforms Tested: MacOS
2018
MacOS kernel code execution due to lack of bounds checking in AppleIntelCapriController::GetLinkConfig
AppleIntelCapriController::GetLinkConfig trusts a user-supplied value in the structure input which it uses to index a small table of pointers without bounds checking. The OOB-read pointer is passed to AppleIntelFramebuffer::validateDisplayMode which will read a pointer to a C++ object from that buffer (at offset 2138h) and call a virtual method allowing trivial kernel code execution.
Mitigation:
Bounds checking should be implemented to prevent out-of-bounds reads.