vendor:
MacOS
by:
ianbeer
7,8
CVSS
HIGH
Out-of-bounds Read
787
CWE
Product Name: MacOS
Affected Version From: MacOS Sierra 10.12.2 (16C67)
Affected Version To: MacOS Sierra 10.12.2 (16C67)
Patch Exists: YES
Related CWE: N/A
CPE: o:apple:mac_os_x:10.12.2
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
2016
MacOS kernel code execution due to lack of bounds checking in AppleIntelCapriController::GetLinkControl
Selector 0x921 of IntelFBClientControl ends up in AppleIntelCapriController::GetLinkConfig. This method takes a structure input and output buffer. It reads an attacker controlled dword from the input buffer which it uses to index an array of pointers with no bounds checking. This pointer is passed to AppleIntelFramebuffer::validateDisplayMode and the uint64 at offset +2130h is used as a C++ object pointer on which a virtual method is called. With some heap grooming this could be used to get kernel code execution.
Mitigation:
Apply the latest security patches from Apple.