Feeds

Apple makes a hash of password security (again)

Shadow boxing

Choosing a cloud hosting partner with confidence

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. ®

Internet Security Threat Report 2014

More from The Register

next story
FYI: OS X Yosemite's Spotlight tells Apple EVERYTHING you're looking for
It's on by default – didn't you read the small print?
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Edward who? GCHQ boss dodges Snowden topic during last speech
UK spies would rather 'walk' than do 'mass surveillance'
Microsoft pulls another dodgy patch
Redmond makes a hash of hashing add-on
NOT OK GOOGLE: Android images can conceal code
It's been fixed, but hordes won't have applied the upgrade
'LulzSec leader Aush0k' found to be naughty boy not worthy of jail
15 months home detention leaves egg on feds' faces as they grab for more power
China is ALREADY spying on Apple iCloud users, claims watchdog
Attack harvests users' info at iPhone 6 launch
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.