[NEWS] Apple OSX dsidentity Privileges Escalation
From: SecuriTeam (support_at_securiteam.com)
To: firstname.lastname@example.org Date: 24 Aug 2005 13:30:03 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
- - - - - - - - -
Apple OSX dsidentity Privileges Escalation
"dsidentity is a setuid tool that allows addition or removal of identity
user accounts in Directory Services."
Lack of proper privileges checking allow attackers to Add and modify users
in Mac OSX using dsidentity.
* Mac OSX 10.4
/usr/sbin/dsidentity allows any user on the system to add accounts to
Directory Services. Passwords can easily be set at the time of account
creation, and the newly created account can be used to login to the OSX
gui. Due to the lack of shell the account is limited in nature, however
once you have logged into the gui accessing a shell is trivial.
Proof of Concept:
To add an account simply use the following command line and then you can
now login as RickJames with the password isapimp.
CrunkJuice:~ kevinfinisterre$ /usr/sbin/dsidentity -a RickJames -s isapimp
After logging in as RickJames open Safari and type file:///bin in the
address bar. Double click on bash.
Ignore the warning about not being authorized, and then click cancel when
asked to close the application.
To remove an account from Directory Services use the following.
CrunkJuice:~ kevinfinisterre$ /usr/sbin/dsidentity -r CharlieMurphy -v
The vendor has released a fix : <http://www.apple.com/support/downloads/>
05/25/2005 reported to apple.
05/26/2005 followup to auto ticketing system #9116351
08/17/2005 Security Update 2005-007 v1.1
The information has been provided by
<mailto:email@example.com> Kevin Finisterre.
The original article can be found at:
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: firstname.lastname@example.org
In order to subscribe to the mailing list, simply forward this email to: email@example.com
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.