Mac OS X Lion password-changing flaw uncovered
By Tom Brewster,
A flaw in Apple’s new OS lets those with access to a Mac running Lion change passwords without knowing the user’s login details, a researcher has claimed.
In previous versions of the Apple OS, users wanting to change passwords had to enter their login information before making alterations.
Why crack hashes when you can just change the password directly?
Now that step is not needed, thanks to insecure permissions in the Mac OS X Lion’s local directory service, researcher Patrick Dunstan said, writing on the Defense in Depth blog.
“Why crack hashes when you can just change the password directly?” Dunstan said. “It appears Directory Services in Lion no longer requires authentication when requesting a password change for the current user.”
Dunstan also claimed it was possible to access other users’ password hashes and therefore steal their login information.
In previous versions of Mac OS X, only those with root access were allowed to view so-called shadow files, which contain hashes and salts used to encrypt passwords.
Although non-root users cannot access the shadow file directly, they can still gain access to information in it by extracting data from the directory services on the OS. All that needs to be done is type in the right command into Terminal to get that information, the researcher claimed.
“The interesting thing about this? Root privileges are not required,” Dunstan added. “All users on the system, regardless of privilege, have the ability to access the ShadowHashData attribute from any other user's profile.”
A brute force attack could be used to crack passwords once the hash and salt are acquired.
Comments on the blog showed some claiming to have exploited the flaw successfully, whilst others were unable to do so.
At the time of publication, Apple had not responded to a request for comment on the alleged vulnerability.
You may also like...
Sponsored Links
advertisement
You may also like...
Latest Unified Threat Management Analysis & Insight
Business of IT: Building a business case for security
Security can be both the unseen hero and the weakest link in an organisation, so how do you make the case to spend enough to protect your organisation's most vital assets? Stephen Pritchard investigates...
Latest Unified Threat Management Reviews
Netgear ProSecure UTM150
Rating: ![]()
advertisement
Most popular
- UK regulator shuts down Angry Birds scam
- Apple iPad 3 vs iPad 2 head-to-head review
- IBM bans use of Siri on iPhones
- Chromebooks: What's gone wrong?
- HP plans massive job cuts
- EMC World 2012: Tucci declares Documentum is here to stay
- Dell EqualLogic PS6100XS review
- Macs and Android under malware threat
- RIM loses its head of sales
- Local fibre broadband needs common standards
Register for IT PRO
You'll get exclusive member benefits including free whitepapers, downloads, Webinars and weekly newsletters full of the latest IT PRO news, reviews, insight and expertise.





