Description
XNU 1228.9.59 and earlier on Apple Mac OS X 10.5.6 and earlier does not properly restrict interaction between user space and the HFS IOCTL handler, which allows local users to overwrite kernel memory and gain privileges by attaching an HFS+ disk image and performing certain steps involving HFS_GET_BOOT_INFO fcntl calls.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Apple Mac OSX xnu 1228.x - 'hfs-fcntl' Kernel Privilege Escalation EDB-8266 · local · Mar 23, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://support.apple.com/kb/HT3757
- ADV-2009-0822 vdb-entry
- 36096 third-party-advisory
- 34424 third-party-advisory
- http://www.digit-labs.org/files/exploits/xnu-hfs-fcntl-v2.c
- APPLE-SA-2009-08-05-1 vendor-advisory
- http://www.digit-labs.org/files/exploits/xnu-hfs-fcntl-v2.sh
- 34203 vdb-entry
- 8266 exploit
- 1022671 vdb-entry
- http://www.informationweek.com/news/hardware/mac/showArticle.jhtml?articleID=216401181
- ADV-2009-2172 vdb-entry
- TA09-218A third-party-advisory