Description
A heap overflow in IOHIKeyboardMapper::parseKeyMapping allows kernel memory corruption in Mac OS X before 10.10. By abusing a bug in the IORegistry, kernel pointers can also be leaked, allowing a full kASLR bypass.
Tested on Mavericks 10.9.5, and should work on previous versions.
The issue was patched silently in Yosemite.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/osx/local/iokit_keyboard_rootmsf undefined(iokit_keyboard_root) > show actions ...actions...msf undefined(iokit_keyboard_root) > set ACTION < action-name >msf undefined(iokit_keyboard_root) > show options ...show and set options...msf undefined(iokit_keyboard_root) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub