Apple Mac OS X passwd file create
| macosx-passwd-file-create (25272) |
Description:
Mac OS X and Mac OS X Server could allow a local attacker to create arbitrary world-writable files caused by a vulnerability in the /usr/bin/passwd binary. passwd fails to verify user permissions prior to the creation of a file and fails to set permissions on files created. A local attacker could exploit this vulnerability to create arbitrary root files and gain root privileges on the system.
Platforms Affected:
- Apple, Mac OS X 10.3.9
- Apple, Mac OS X 10.4.5
- Apple, Mac OS X Server 10.3.9
- Apple, Mac OS X Server 10.4.5
Remedy:
Apply Security Update 2006-001, available from the Apple Security Update 2006-001. See References.
Consequences:
File Manipulation
References:
- Apple Security Update 2006-001, About Security Update 2006-001 at http://docs.info.apple.com/article.html?artnum=303382.
- iDEFENSE Security Advisory: 03.02.06, Apple Mac OS X passwd Arbitrary Binary File Creation/Modification at http://www.idefense.com/intelligence/vulnerabilities/display.php?id=400.
- BID-16907: Apple Mac OS X Security Update 2006-001 Multiple Vulnerabilities
- BID-16910: Apple Mac OS X Directory Services Passwd Privilege Escalation Vulnerabilities
- CVE-2005-2713: 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.
- FrSIRT/ADV-2006-0791: Apple Mac OS X Code Execution and Denial of Service Vulnerabilities
- OSVDB ID: 23646: Mac OS X passwd Database Option Arbitrary File Creation
- SA19064: Mac OS X Security Update Fixes Multiple Vulnerabilities
Reported:
Mar 01, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
