vendor:
IOKit.framework
by:
Exploit Database
7.8
CVSS
HIGH
Buffer Overflow
119
CWE
Product Name: IOKit.framework
Affected Version From: MacOS 10.13.6 and iOS 11.3.1
Affected Version To: N/A
Patch Exists: Yes
Related CWE: N/A
CPE: N/A
Metasploit:
N/A
Other Scripts:
N/A
Platforms Tested: MacOS and iOS
2018
io_hideventsystem Vulnerability
io_hideventsystem is a MIG service which provides proxy access to various HID devices for untrusted clients. On iOS it's hosted by backboardd and on MacOS by hidd. The actual implementation is in IOKit.framework. It turns out that the userspace code for enqueuing and dequeuing from an IODataQueue has none of the hardening that the kernel code now has, so it's trivial to just replace the length, head and tail fields (which are in a header at the start of the shared memory buffer) such that the remote process tries to enqueue outside of the bounds of the IODataQueue's actual backing buffer.
Mitigation:
Update to the latest version of the software.