Mac OS X Lion password-changing flaw uncovered

Changing passwords looks awfully simple for anyone who has acquired access to a Mac OS X Lion machine.

Password

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?

Advertisement - Article continues below

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.

Advertisement
Advertisement - Article continues below
Advertisement - Article continues below

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

Featured Resources

Top 5 challenges of migrating applications to the cloud

Explore how VMware Cloud on AWS helps to address common cloud migration challenges

Download now

3 reasons why now is the time to rethink your network

Changing requirements call for new solutions

Download now

All-flash buyer’s guide

Tips for evaluating Solid-State Arrays

Download now

Enabling enterprise machine and deep learning with intelligent storage

The power of AI can only be realised through efficient and performant delivery of data

Download now
Advertisement

Recommended

Visit/hardware/mobile/355116/apples-iphone-12-could-be-delayed-by-months-due-to-the-coronavirus-crisis
Mobile

Apple's 5G iPhone 12 could be delayed by the coronavirus pandemic

26 Mar 2020
Visit/security/355013/10-quick-tips-to-identifying-phishing-emails
Security

10 quick tips to identifying phishing emails

16 Mar 2020
Visit/business/policy-legislation/355010/apple-fined-ps1bn-12bn-by-french-antitrust-regulator
Policy & legislation

Apple fined £1bn ($1.2bn) by French antitrust regulator

16 Mar 2020
Visit/business-strategy/mergers-and-acquisitions/354941/panda-security-to-be-acquired-by-watchguard
mergers and acquisitions

Panda Security to be acquired by WatchGuard

9 Mar 2020

Most Popular

Visit/security/privacy/355155/zoom-kills-facebook-integration-after-data-transfer-backlash
privacy

Zoom kills Facebook integration after data transfer backlash

30 Mar 2020
Visit/infrastructure/server-storage/355118/hpe-warns-of-critical-bug-that-destroys-ssds-after-40000-hours
Server & storage

HPE warns of 'critical' bug that destroys SSDs after 40,000 hours

26 Mar 2020
Visit/software/355113/companies-offering-free-software-to-fight-covid-19
Software

These are the companies offering free software during the coronavirus crisis

25 Mar 2020
Visit/cloud/355098/ibm-dedicates-supercomputing-power-to-coronavirus-researchers
high-performance computing (HPC)

IBM dedicates supercomputing power to coronavirus research

24 Mar 2020