New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 18 users
Status: Fixed
Owner:
Email to this user bounced
Closed: Feb 2015
Cc:



Sign in to add a comment
OS X IOKit kernel code execution due to NULL pointer dereference in IntelAccelerator
Project Member Reported by ianbeer@google.com, Oct 21 2014 Back to list
I wrote a little program to run over every IOKit IOService userclient type from 1 to 100 and just call IOConnectMapMemory for all the memory type values from 1 to 1000.

Calling IOConnectMapMemory on userclient type 2 of "IntelAccelerator" with memory type 3 hits an exploitable kernel NULL pointer dereference calling a virtual function on an object at 0x0.

Attached PoC exploits this to get root.

(The cleanup ROP uses a hardcoded offset for 10.9.5.)
 
ig_2_3_exploit.c
10.2 KB Download
Project Member Comment 1 by ianbeer@google.com, Oct 21 2014
hummm, reading the Yosemite security bulletin this sounds a lot like CVE-2014-4373, upgrading to Yosemite now to check before I report this.
Project Member Comment 2 by ianbeer@google.com, Oct 22 2014
Verified that the bug is still there in Yosemite, attached a PoC crasher for 10.10.

The kASLR defeat in ig_2_3_exploit.c looks to have been patched in 10.10 however so that doesn't work.
ignull_2_3.c
1.1 KB Download
Project Member Comment 3 by ianbeer@google.com, Oct 22 2014
Labels: Reported-2014-Oct-21 Id-612956440
Project Member Comment 4 by scvitti@google.com, Jan 12 2015
Labels: -Vendor-OSX Vendor-Apple
Project Member Comment 5 by ianbeer@google.com, Jan 20 2015
Labels: -Restrict-View-Commit
Deadline exceeded - automatically derestricting
Comment 6 Deleted
Comment 7 by cevans@google.com, Jan 26 2015
Labels: Deadline-Exceeded
@ianbeer: just a reminder to add the Deadline-Exceeded label.
Project Member Comment 8 by ianbeer@google.com, Feb 5 2015
Labels: Fixed-2015-Jan-27 CVE-2014-4486
Status: Fixed
Apple advisory: http://support.apple.com/en-us/HT204245
Comment 9 Deleted
Comment 10 Deleted
Comment 11 Deleted
Comment 12 Deleted
Comment 13 Deleted
Sign in to add a comment