Description
passwd in Directory Services in Mac OS X 10.3.x before 10.3.9 and 10.4.x before 10.4.5 allows local users to create arbitrary world-writable files as root by specifying an alternate file in the password database option.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- Apple Mac OSX - '/usr/bin/passwd' Custom Passwd Privilege Escalation EDB-1545 · local · Mar 1, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 20060302 Apple Mac OS X passwd Arbitrary Binary File Creation/Modification third-party-advisory
- 20060302 [OSX]: /usr/bin/passwd local root exploit. mailing-list
- 19064 third-party-advisory
- 16907 vdb-entry
- ADV-2006-0791 vdb-entry
- 16910 vdb-entry
- APPLE-SA-2006-03-01 vendor-advisory
- macosx-passwd-file-create(25272) vdb-entry
- TA06-062A third-party-advisory
- 23646 vdb-entry
- http://docs.info.apple.com/article.html?artnum=303382