Apple makes a hash of password security (again)
Shadow boxing
Customer Success Testimonial: Recovery is Everything
Apple has dropped a couple of monumental password security clangers with the release on OS X Lion, according to security blogger Patrick Dunstan.
Dunstan, who posted an important piece on cracking Mac OS X passwords a couple of years ago, decided to revisit the subject with the release of OS X Lion (version 10.7).
He discovered Apple's developers had made user security worse in two important ways: firstly, it's possible to change the password of the current user without needing to know the original password, as Dunstan explains.
"It appears Directory Services in Lion no longer requires authentication when requesting a password change for the current user," he writes. "So, in order to change the password of the currently logged in user, simply use: $ dscl localhost -passwd /Search/Users/bob."
And that isn't the only backward step. Previously only a user with root (admin) privileges to a machine was able to get at the password hashes for other users, which are held in so-called "shadow files". With OS X Lion this restriction is easily circumvented.
"It appears in the redesign of OS X Lion's authentication scheme a critical step has been overlooked," Dunstan explains. "Whilst non-root users are unable to access the shadow files directly, Lion actually provides non-root users the ability to still view password hash data. This is accomplished by extracting the data straight from Directory Services."
"All users on the system, regardless of privilege, have the ability to access the ShadowHashData attribute from any other user's profile," he adds.
None of the major brute force crackers support OS X Lion hashes because the OS was only released in late July. Dunstan has created a python script to do the job, which is intended for password auditing. The password security foibles discovered by Dunstan raise further questions about the overall security of Mac OS X Lion, already highlighted by earlier LDAP password security weaknesses.
Dunstan's latest research is explained in greater depth in a post on his Defence in Depth blog here. ®
COMMENTS
Balls...
...up.
I'm a happy Mac user, but I really wish that Apple, with their many fucking billions in the bank, would employ one or two really good security guys and sort out these simple problems. There's no excuse for this.
"It just works!"
Trouble is, "just" isn't good enough for some people.......
Lion: Apple's own Vista?
First the borked versionning "no files but a database" system, then this?
I do not routinely use fruit-branded products, but my officemate (to whom I passed this article as well as the one on undeletable files) is considering a downupgrade*. Now he only has to figure out how!
*yes, I typed this on a porpoise.

IT infrastructure monitoring strategies
What you need to know about cloud backup
Agentless Backup is Not a Myth
Top 10 SIEM implementer’s checklist
Customer Success Testimonial: Recovery is Everything