Apple Security Blunder Exposes Lion Login Passwords In Clear Text
An anonymous reader writes "An Apple programmer, apparently by accident, left a debug flag open in the most recent version of its Mac OS X operating system. In specific configurations, applying the OS X Lion update 10.7.3 turns on a system-wide debug log file that contains the login passwords of every user who has logged in since the update was applied. The passwords are stored in clear text."
now i can find out what my password is.
ive been resisting a reboot for ages!
apple even ships their own malware.
Oh, it is the sound of Google and Microsoft doing the LMAO and rolling on the floor. No chairs to through today - except maybe in Cupertino...
It's a good job that my password is also the combination to my luggage.
In before "lol Mac users deserve this".
That makes for quite the dangerous security breach.
TFA mentioned filevault, they're reusing system passwords for that are they?
When I build a system for Linux distribution, I use scripts to configure the options on the build server. I don't use manually specified configurations from developer workstations.
Doesn't Apple grasp this concept of source code versioning and build management? Or was the debug flag in question hard-coded in the source rather than specified as a build option? If so, Apple needs to revisit it's coding structure and figure out how to set BUILD TIME options instead of hard coding them.
I do not fail; I succeed at finding out what does not work.
Lucky for me I read the fine article and since all my systems had a full Lion install (non-upgrade) it's not an issue. Also lucky for me I didn't use folder encryption in Snow Leopard. Also lucky for me I don't use FileVault.
Why in our time somebody, anybody would need passwords to be stored for log purposes at all? You need to check if the user is typing it the right passwords? Compare the encrypted versions and store a state saying: correct / wrong password was used, what else do you need?
This is just stupidity, there is no other word for it.
You can't handle the truth.
...There is app for that.
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
pathetic.
...I've got to say that if a fellow pen-tester managed to find a really deep, complex and convoluted vulnerability in by code then that's fair game and kudos to him.
This though...bitten by a debugging flag, the dev must be hitting the sauce right about now.
Now, putting my coder hat back on, why was a debugging flag left enabled while building for production?
That's just lazy/bad setup, everyone knows that you keep your environments separate.
I wonder what the source code or version control comments said..
Anyone who used FileVault encryption on their Mac prior to Lion, upgraded to Lion, but kept the folders encrypted using the legacy version of FileVault is vulnerable. FileVault 2 (whole disk encryption) is unaffected.
I can see how those circumstances could occur in the real world; however the first version of FileVault was a pain, and I don't know of many people that kept using it for very long.
I stopped using FileVault v1 after a few days. What sensitive stuff I have is now in encrypted sparsebundles, with the rest of my stuff unencrypted. Time Machine backups are stored on a LUKS-encrypted disk.
FWIW I've stuck with Snow Leopard - not a real fan of Lion. That was another thing I stopped using after a few days, although I did like the whole-disk encryption option.
#DeleteChrome
From TFA, the specific configurations that allow this to happen: "Anyone who used FileVault encryption on their Mac prior to Lion, upgraded to Lion, but kept the folders encrypted using the legacy version of FileVault is vulnerable. FileVault 2 (whole disk encryption) is unaffected."
FTA:
So only certain configurations, and relatively few at that.
things such as debug logs during testing.
Does Apple have no such thing? This leads me to think that Apple either has no development lifecycle or, in case they have one, only half-heartedly obey it.
Viable Slashdot alternatives: https://pipedot.org/ and http://soylentnews.org/
Man am I glad to read that! I was beginning to doubt apple's security credibility for a moment there. Luckily we now know that it's this one programmer's fault and not apple's.
At least it's not an iPhone, so there's less risk this man will commit suicide.
I've confirmed that this bug is occurring on one of my systems. Its an easy file to find. Its also a bit disconcerting to see my password right there in front of me in plain view. This bug may only effect a small number of systems, but that doesn't matter much if it effects your system.
...you're passwording it wrong.
Since I've never shipped a piece of commercial code with a bug in it, I feel justified in criticize Apple for what is clearly sloppy quality control.
(Never mind that I've never shipped any commercial code...)
could such a leak not be avoided reliably with an automatic test?
cb
What? Something seriously missing from the summary!
Copying features from Microsoft products again.
I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
If they weren't such stupid programmers and had paid any attention to security, this wouldn't have happened.
I might suggest that your endorsement might have given several people a reasonably compelling reason not to use it.
If you sincerely are advocating that product, you may want to consider altering your sales pitch so that you don't sound so much like a snake-oil sales vendor. Otherwise, you just sound like a raving lunatic.
Of course... if that was your intent. Carry on. Expect to be downmodded, however.
File under 'M' for 'Manic ranting'
All of his friends went over to work on iOS and he's been left to pick up the slack. ;)
What are you upto today bonch? Anything exciting?
Just more shilling? :( Well that's too sad. Please take it easy today and don't shill too much bonch!
Now I will have to change my password from "password" to "12345678."
--
A woman once said to Adlai Stevenson, "Every thinking person in America will vote for you," to which Stevenson replied, "That won't be enough, ma'am, I need a majority."
Because this is problematic if one's login password on a mac happens to be their login password for everything else inside of one company.
Odds are that firewalls will protect outsiders from being able to snoop, but what's to stop somebody on the inside from doing a little covert snooping to discover the administrator's password, and using that to his own advantage in some way?
I would rather hope that Apple addresses this issue before the work day commences tomorrow, because now that this vulnerability is publicly known, it's a shoo-in that it is going to be exploited.
File under 'M' for 'Manic ranting'
What qualifies that statement? Any FileVault user that upgraded to Lion would be affected, which I would think would be more than a few. FileVault is not upgraded to FileVault 2 automatically. The user would need to manually disable FileVault and then re-enable it to get the whole disk encryption feature.
doesn't get viruses
Correction: doesn't get PC viruses.
Somehow I have a feeling that if this same kind of "bug" had been found in another operating system, such as one coming from Redmond, the discussion and media coverage would have been quite different, and there would have been much more Slashdot comments on this story.
We are talking about passwords stored in clear text, no fix yet, and based on the article, no assurance that the fix would remove copies of the unencrypted passwords. For a company that was wondering how to spend 100 billions. What a joke.
lucm, indeed.
Must be. Apple can do no wrong.
Underhanded C contests prove that it's possible to slip a bug into a critical piece of software in such a way that it looks like programmer error. This allows for plausible deniability from the company (Apple).
http://en.wikipedia.org/wiki/Underhanded_C_Contest
It really happened. I was there. Hundreds of letters went out like that because the developer
put some cutesy greeting in his code for debug purposes at the bank where he worked.
The moral of the story is that a good developer never exposes himself in such a way. Never.
This is just sloppy - nothing is perfect. But I don't trust something as important as encryption
to a bunch of novices in a closed architecture like that. It's just as silly as Microsoft's pretend
encryption. It's too easy to circumvent - just google it.
Very sad...
Don't bait the meth-fueled troll, and especially not from a named account if you know what's good for you. Have you been paying attention to just how widely he's doing this, how many accounts here (at least six as of right now), how many other sites he's poisoned? There's also a bizarre theistic reference in most of the account names used. Don't debate this freak, use the Flag button next to EVERY one of his posts in every guise, and let the admins with better weaponry deal with him.
This has been a recurring spammy problem here at Slashdot for days now, and his insane posts aren't limited to Slashdot; he's poisoned other sites in the same fashion. Search for "gamemakerdom" and you'll begin to see the larger picture. There are more than 6 Slashdot accounts alone involved now, apparently all created and controlled by the same person. He uses one account to make an initial post, and then posts replies to himself using other accounts to make it appear like a conversation. He also replies to criticism, and if you reply from a named account he may search for your other posts and reply to some of them to spread the poison further (that was done to me).
Modding his posts down is fine to hide his behavior from most people, but it will not stop him. Use the Flag button on every one of his posts, in every guise he uses, to bring the full scope of what he's doing to the attention of the Slashdot staff. Hopefully they can not only remove his existing accounts but figure out a way to ban him from creating more and finally put a stop to this mindless spam.
It's a feature designed to enhance privacy by encouraging the user to change their password more often.
Specifically, at each login. And logout. And several times in between. Quick! Keep changing it!
"We live in a global world" - Harvey Pitt, former Securities and Exchange Commission Chairman
First, if you timestamp it, you don't need to salt it. The password would effectively have a lifetime of minutes at best, so adding a salt doesn't improve anything.
Second, your idea ruins the whole point of using a trapdoor function (what the internet means by "hash"). The point of the trapdoor function is that the server doesn't have to have your password stored on it, because you can just verify the password presented by comparing a hashed form of the presented password to the hash you have stored.
But with a time+password hashing scheme, the server must know the user's password because each time the user logs in, the must construct a new hash from the password and the current time.
So, if your server is going to know the password, just use a shared secret system like SRP. Then you get two-way mutual authentication too.
http://lkml.org/lkml/2005/8/20/95
Must be a new thing at Apple - if it compiles - ship - make big buck
Tech support? just let the internet support our release
After a year of having to endure "Your old Mac Core2 Solo 32bit can't RUN 64bit-only Lion! Loser!" comments, now, NOW I can say, there is a darn good benefit to staying behind the times! This security issue does not affect me!
This totally refills my Apple User Smugness supply.
Sig for hire.
Bad Summary! Blah blah Modpoints blah blah TFA blah blah Apple blah blah...
But there's no way any development system can compete with Microsoft Visual Studio. Microsoft Visual Studio wins the world's best IDE, hands down.
Apple didnt do anything, their programmer didnt do it ! This is apple, they never get viruses or have accidents or mistakes happen. Just ask apple, they are perfect beings that have evolved beyond a normal humans ability to make mistakes or be anything less than pure glorgious perfection in every way possible.
Off topic, almost certainly. Idiotic, without a doubt.... but not actually inappropriate or offensive unless a person is offended by people who sound nuts.
File under 'M' for 'Manic ranting'
... you're just holding it wrong.
This is simply not possible!
MacOS is secure by DESIGN! It is IMPOSSIBLE to get a VIRUS on the Mac! And it's impossible for this password issue to be true!
It's SECURE by DESIGN!
This is not WinDOZE or M$DOS!
us mods can only hide it from people who don't read @ -1 ! :( But i have been reporting these as i see it to admins hoping for a nice IP ban.
I can see no reason a password should be stored during debugging under any circumstance.
This sounds to me more like a case of a hidden feature being discovered.
They say that all FileVault (1 and 2) users on 10.7.3 are affected, so I looked at the appropriate file (apparently no one on the Internet is speaking its path and file name) and found the lines marked DEBUGLOG, but my cleartext password wasn't there. Everything else is. I'm not saying the story is untrue; I'm looking right at a bunch of lines that say DEBUGLOG. I guess I somehow got lucky.
This issue has been reported to Apple weeks ago and acknowledged.
Modding his posts down is fine to hide his behavior from most people, but it will not stop him. Use the Flag button on every one of his posts, in every guise he uses, to bring the full scope of what he's doing to the attention of the Slashdot staff. Hopefully they can not only remove his existing accounts but figure out a way to ban him from creating more and finally put a stop to this mindless spam.
I did try flagging, but the flag button doesn't deem to work.all I get is a "state reason button that only gives me one (speling) option. Agree with your comment though, we don't need this kind of contamination on an already compromised site like /.
When I took my iMac to the Apple Store to have a bad power supply replaced, they required an account and password to access the machine. Then they mailed it to me. In cleartext.
So many things wrong... where to start?
Whoa. Dude. Like, I think you meant to post that on /r/trees man.
Sure he was not paid by M$?
Late last Wednesday 9 May 2012, Apple released the OS X 10.7.4 update for both the client and server editions of the OS, that corrects this error and closes this security vulnerability, amongst other issues. The update is available thru the standard automated Software Update channel as a delta update for 10.7.3 users or as a combo update for all 10.7.x users, or as downloadable updaters found in http://support.apple.com/downloads/#macosandsoftware The delta update is around 400MB (700 for the standalone downloadable) and the combo update is around 1.3GB (1.55 for the standalone downloadable). From the official blurb:
The 10.7.4 update is recommended for all OS X Lion users and includes general operating system fixes that improve the stability, compatibility, and security of your Mac including fixes that:
Resolve an issue where the “Reopen windows when logging back in” setting is always enabled
Improve compatibility with certain British third-party USB keyboards
Address an issue that may prevent files from being saved to a server
Improve the reliability of copying files to an SMB server
For detailed information on this update, please visit this website: http://support.apple.com/kb/HT5167.
For information on the security content of this update, please visit: http://support.apple.com/kb/HT1222.