Vulnerability Note VU#331694
Apple Mac OS X chpass/chfn/chsh utilities do not properly validate external programs
Overview
Apple Mac OS X Directory Service utilities use external programs insecurely, potentially allowing an attacker to execute arbitrary code.
Description
The OS X Directory Services have three utilities chpass, chfn, and chsh to update information in the user database, such as user name, password, shell, group affiliation, home directory, etc. When these utilities are executed, certain code paths may invoke separate, external programs in an insecure manner. A local attacker may be able to manipulate the calls to external programs made by chpass/chfn/chsh to execute arbitrary code. Note that chpass, chfn, and chsh are the same utility. In addition, this utility can execute with administrative privileges, possibly root. |
Impact
An attacker may be able to execute arbitrary code to gain elevated privileges, possibly root. |
Solution
Apply Update |
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| Apple Computer Inc. | Affected | - | 17 May 2005 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
- http://secunia.com/advisories/15227/
- http://xforce.iss.net/xforce/xfdb/20376
- http://docs.info.apple.com/article.html?artnum=301528
- http://www.apple.com/server/macosx/
- http://www.osvdb.org/16075
Credit
This vulnerability was reported by Apple Product Security.
This document was written by Jeff Gennari.
Other Information
- CVE IDs: CAN-2005-1335
- Date Public: 03 May 2005
- Date First Published: 16 May 2005
- Date Last Updated: 25 May 2005
- Severity Metric: 15.94
- Document Revision: 97
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.