News for hackers. Stuff that matters.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by bsaul on Friday December 01, 2017 @07:18PM (#15829056)
I feel weird reading comments here ranging from excusing the developer to blaming him, for its lack of unit testing or anything. Let’s make this clear : management fcked up badly. Human process. Not code, not unit testing, not a single line of code is responsible. And you know why ? Because when you’ve had the greatest security failure in a decade publicly shaming your company and your team, you personaly make sure it doesn’t happen again in the next release.

And it’s not just one manager. The whole management is screwed, it’s a disaster. I think now is really time to say : would you imagine this happening under steve jobs ?

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by dsacco on Friday December 01, 2017 @07:27PM (#15829112)
> Because when you’ve had the greatest security failure in a decade

It's nowhere close to the greatest security failure in a decade. It's not even a contender in the far off distance. It's a well publicized vulnerability, and it's quite silly, but in the scheme of things it's just a Tuesday for CVE writers. We even had a vulnerability functionally identical to this, and similar in both severity and silliness, hit Linux within the past year.

If you're talking about Apple specifically, it's still not that bad. The vulnerability couldn't be arbitrarily executed remotely with default OS settings, and it didn't grant kernel access. The Trident flaws were significantly worse than this, and that's just the first that comes to mind.

Yes, yes, I know this wasn't the thrust of your point...but still. People get kind of hyperbolic when it comes to rating security vulnerabilities. It's more silly than it is severe. I expect at least one vulnerability of comparable impact on every major point release of every major operating system and web browser (not that this is a good thing, but it's logistically realistic). I don't think this is particularly bad for Apple's public image or reputation. Headlines about "the sky is falling!" vulnerabilities make the rounds every so often; for better or worse, it never really seems to stick in public consciousness.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by bsaul on Friday December 01, 2017 @07:40PM (#15829197)
because it doesn’t provide remote access, you’re right. But it’s been released publicly before there was a patch available, on an OS that’s only used as a personal computer, not as a server. And is immediately exploitable by just anyone, with 0 technical background. I think that makes it a very big deal, no matter what CVE usually use for a scale. I also don’t remember any macOS security breach getting that much publicity.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by dsacco on Friday December 01, 2017 @07:45PM (#15829237)
I agree it's a big deal, in that it's serious - it's a security vulnerability after all, yes. But I disagree about its significance for Apple in the face of the sheer number of security advisories that come out across iOS and macOS each year. When we broaden perspective away from just Apple, this becomes absolutely miniscule. There's a lot of navel gazing going on, but there's not a lot of reason to read anything particular out of this at all.

It's very silly, and I would also be embarrassed if I was involved in it, but those aren't good metrics for judging the realistic frequency of bugs like this, nor their severity. I've had vulnerabilities I've reported picked up by a bunch of news media before even though they weren't that serious. As it turns out, the media just latches on to security headlines, and everyone sort of forgets about it except us grumblers on Hacker News, because we Never Forget.

Someone from Google Project Zero has probably been inspired to start fuzzing the macOS at the UI level now, and that's a good thing - they should. But that's about all I'm taking away from this story.

Moreover:

> on an OS that’s only used as a personal computer, not as a server

This makes it less severe, not more so. I'd rather have a Heartbleed impacting nearly every server on the internet than a...whatever we're calling this, impacting every macOS computer in the world. I guess I can make a botnet...except I still have to be local to it in the majority of cases, or do specific targeting, or chain this with another piece of popular, compromised software, etc. It suddenly becomes a bit more complex than just someone pressing enter on a root prompt twice. Plus, if the vulnerability is laughably silly, it's usually easier to find than a chain of them that evidences a systemic misconfiguration in the entire OS.

In fact, I'd posit that the reason this story is getting so much attention is precisely because the vulnerability is so easy to understand, and because someone disclosed it on Twitter. Frankly, the whole situation is really quite funny in a black comedy sort of way. But while it's fun to write stories poking fun at large companies for their silly mistakes, it doesn't meaningfully reflect their security competency or the long term perception of their security competency.

Really I don't mean to trivialize it. It's not a good look, and definitely it's worthy of being patched. But I think it's worth looking at from a much broader perspective.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by toyg on Saturday December 02, 2017 @09:43AM (#15831989)
>> on an OS that’s only used as a personal computer, not as a server

> This makes it less severe, not more so.

You are looking at it from the perspective of a seasoned security professional. It's like looking at the terrorist attack in Nice from a military point of view and saying "eh, this was just a guy on a lorry; it's much more difficult to raid Osama in the middle of Pakistan". That might well be, but this does not matter to the general public - to them, concepts like "botnets" are immaterial, whereas Slippin' Jimmy entering their macbooks to read their emails while they're sleeping is very real.

In that sense, the impact here was bigger than any other security hole ever experienced on the Mac.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by 9935c101ab17a66 on Saturday December 02, 2017 @05:51PM (#15834677)
I don't really think your analogy is all that apt, but anyway, it just serve's to reinforce dsacco's point: there may have been a lot of fuss over this, but in terms of actual impact, this was negligible.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by JadeNB on Wednesday December 06, 2017 @01:45PM (#15863714)
> I'd rather have a Heartbleed impacting nearly every server on the internet than a...whatever we're calling this, impacting every macOS computer in the world.

I think I must be misunderstanding this, or else the rest of your comment. Did you really mean it this way (more Heartbleeds is better than more personal-OS vulnerabilities), rather than the other way around?

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Someone1234 on Friday December 01, 2017 @08:08PM (#15829390)
> because it doesn’t provide remote access

It was, via Screen Sharing and a few other remote mechanisms.

It "likely" wasn't often internet accessible due to firewalls, but it was remotely exploitable on many large Mac deployments in enterprise and education.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by ben174 on Friday December 01, 2017 @07:45PM (#15829234)
You'd still need physical access to a logged-in machine to exploit it. I'm not sure what the latest default is as to Guest accounts and whether or not those can exploit it, but it's a significantly different story if it requires you to exploit it on an unattended logged in machine.

If guest accounts are enabled by default and a guest account can exploit it, yea.. that's pretty bad.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by miles on Friday December 01, 2017 @08:05PM (#15829373)
> You'd still need physical access to a logged-in machine to exploit it

Not necessarily; this aspect was unfortunately underreported:

"macos 10.13 bug isn't limited to root in all circumstances; via ARD, you can log in as any existing user (e.g. _applepay) and share the screen of the logged-in user. also _uucp is allowed to log in"

https://twitter.com/unsynchronized/status/935656609140711426

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by X-Istence on Friday December 01, 2017 @08:08PM (#15829387)
The defaults don't allow for remote management, screen sharing, or SSH or anything. Most of these devices are going to be sold without those options ever being touched.

So that limits things in terms of who is affected.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by miles on Friday December 01, 2017 @09:16PM (#15829687)
Just as a very simple, isolated example, think of all the Mac Mini servers with Remote Management enabled at https://macminicolo.net .

As I mentioned below, this remote exploit did NOT require ever logging in as root, whether with or without a password. This was a much more serious bug than is commonly understood.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Someone1234 on Friday December 01, 2017 @08:10PM (#15829406)
None of which makes this statement any less inaccurate:

> You'd still need physical access to a logged-in machine to exploit it.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by miles on Friday December 01, 2017 @09:14PM (#15829673)
> None of which makes this statement any less inaccurate: >> You'd still need physical access to a logged-in machine to exploit it.

Yes it does; if Remote Management was enabled (as is often the case for remote servers or mass deployments), an attacker could login via Apple Remote Desktop using default, pre-existing user accounts (_applepay, _uucp, etc) and a blank password without ever needing physical access.

Just tested again with a new, unpatched install of 10.13.1 on one Mac, connecting via Screen Sharing from another. To be clear, I never logged in as root on the 10.13.1 Mac at all, even via the exploit.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by 59nadir on Saturday December 02, 2017 @02:18AM (#15830723)
You are agreeing with the comment you're replying to. He/she was saying that the defaults being what they are do not make the statement that you need physical access any less inaccurate.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by miles on Saturday December 02, 2017 @03:34AM (#15830942)
Thank you for the kind correction and clarification, 59nadir. And my apologies to you, Someone1234, for having hastily misread your comment.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Someone1234 on Friday December 01, 2017 @08:09PM (#15829399)
> You'd still need physical access to a logged-in machine to exploit it.

You don't. You can exploit it from the login screen after a machine wakes from sleep, you can also exploit it remotely via Screen Sharing.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by thecynh on Sunday December 03, 2017 @09:59AM (#15837804)
But from a shut-off machine it wasn't exploitable? Have an iMac sitting at work (turned off) and am on vacation =)
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by scintill76 on Friday December 01, 2017 @09:34PM (#15829763)
I'm not necessarily doubting, but what is the Linux vulnerability you're referring to?
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by ficklepickle on Saturday December 02, 2017 @02:23AM (#15830734)
Maybe this[1] one? Hit enter 30 times to get a root initramfs on encrypted, Debian based distros.

My laptop was vulnerable to this one for quite a while. [1] http://hmarco.org/bugs/CVE-2016-4484/CVE-2016-4484_cryptsetu...

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Vogtinator on Saturday December 02, 2017 @05:55AM (#15831359)
Which is really not a bad vulnerability as the data is still encrypted. Physical access means root anyway.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by pizza on Friday December 01, 2017 @10:42PM (#15830004)
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by ac29 on Friday December 01, 2017 @11:22PM (#15830137)
That bug required root to exploit, not really the same severity.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by lostlogin on Saturday December 02, 2017 @03:18AM (#15830886)
Might be worth hitting enter a few times - it’s worked before.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by mk89 on Saturday December 02, 2017 @07:41AM (#15831644)
> It's more silly than it is severe

So, being able to install spying software on any Mac OSX is something silly for you?

Let's say I just don't agree.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Feniks on Saturday December 02, 2017 @07:57AM (#15831691)
That's because the public doesn't care about security.

How many people read patch notes or are aware what security patch their Android has?

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by giobox on Friday December 01, 2017 @08:02PM (#15829347)
> would you imagine this happening under steve jobs?

Of course it could have. Making software is hard, and mistakes get made. The idea that the magical presence of Steve would prevent this is absurd.

There were plenty of terrible MacOS bugs under Steve's reign too. I can't help but feel there is perhaps a new generation of Mac users who don't remember or didn't experience how painful OS X was at times, even many years after the OS 9 to X transition had started.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by brians on Friday December 01, 2017 @09:31PM (#15829749)
Not magical. Fucking terrifying, and uninterested in the management layers designed to insulate any level staff from the consequences of this mistake. Compare Rickover.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by mattkevan on Saturday December 02, 2017 @06:01AM (#15831383)
It’s true.

OS X versions 1-3 were pretty bad. 10.3 was the first to be useable. 10.4 was actually good. Then 10.5 Leopard (or Leper as we knew it) was awful on release. From Snow Leopard onwards it’s been much better, with the occasional howler of course.

It seems to be a constant refrain that Apple’s software quality is declining in the same way civilisation is always falling or HN is becoming more like reddit.

In High Sierra they painlessly replaced the filesystem. Quite an achievement. Although everyone involved in this latest problem should be highly embarrassed.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by virgilp on Sunday December 03, 2017 @09:10AM (#15837613)
> In High Sierra they painlessly replaced the filesystem.

Except that a colleague of mine who was adventurous enough to try it lost all the data. That stopped any one of us from upgrading (fortunately, if I may say so).

(it might be due to encryption, but it doesn't matter - the "painless" part is clearly not for everybody)

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by protomyth on Saturday December 02, 2017 @08:01AM (#15831699)
In High Sierra they painlessly replaced the filesystem.

No, they did not. They still cannot upgrade any Mac mini server running RAID 1. They sold that configuration and crippled there software to put in the new file system. That is only painless for flash drive owners.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by acdha on Saturday December 02, 2017 @08:08AM (#15831717)
So what pain did it cause you? Your computer is running the new OS, and they’re doing a staged rollout which seems to have caused no problems – that sounds exactly as described.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by protomyth on Saturday December 02, 2017 @11:07AM (#15832466)
My computer is not running the new OS since it cannot be upgraded currently. We are upgrading every other Mac (originally for fear of not having the latest security), but cannot do upgrades on a configuration sold by Apple. Their filesystem transition which was accompanied by a down grade of Disk Utility is not painless.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Lorkki on Saturday December 02, 2017 @05:08PM (#15834435)
> It seems to be a constant refrain that Apple’s software quality is declining

Funny - until recent years, I remember the mantra on MacOS being "yeah, but it's gotten better in the latest release".

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by mephitix on Friday December 01, 2017 @07:33PM (#15829152)
I agree that management fucked up to allow this to happen again. But saying it's purely management's fault is another extreme.

In big companies there are layers of 'management', including down to dev leads and tech/virtual leads who are devs by title. Knowledge of codebase/systems/deployment increases as you get down to the leaves. There are architects, release managers, product managers, etc. that should have provided multiple checks/balances. It's easy to point at "management" in big companies just as it is easy to point at "developers". But there's a whole bunch of nuances in the middle.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by fmihaila on Friday December 01, 2017 @07:38PM (#15829185)
> There are architects, release managers, product managers, etc. that should have provided multiple checks/balances. So to say it's purely "management" isn't quite correct to me.

The fact that all the architects, release managers, and product managers that you mentioned do not function as a coherent structure capable of eliminating the occurrence of critical defects is the definition of management failure. NASA also had plenty of architects and directors when Challenger exploded. Such catastrophic failures, especially on repeat, are indicative of systemic disfunction. That is always the fault of top management.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by nikanj on Friday December 01, 2017 @07:22PM (#15829072)
It didn't happen again in the /next release/, it happened when upgrading from an older release to the current one.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by givinguflac on Friday December 01, 2017 @07:27PM (#15829110)
Seriously. It’s shitty, but rebooting isn’t the end of the world. The problem is they don’t force a reboot with the fix. Now they just need to roll a new 10.13.1 with the fix and force a reboot with the standalone patch, problem solved.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by likelynew on Friday December 01, 2017 @08:41PM (#15829553)
What do you mean when you say management fucked up: they don't think it's worth to invest in quality of apple software? This is a decision, not a fuck up.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by asveikau on Friday December 01, 2017 @09:10PM (#15829656)
> This is a decision, not a fuck up.

Can't it be both? I feel like when people talk like this, it abstracts away from the concept of a bad decision. Everything's a tradeoff! Sounds great until you hit actual consequences.

Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by revelation on Friday December 01, 2017 @07:26PM (#15829098)
It probably was this great idea of merging the iOS and MacOS teams. That just screams management.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by make3 on Friday December 01, 2017 @07:20PM (#15829070)
this doesn't even come close to being the greatest security failure in the decade. Equifax and intel ME are both much worse
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by bsaul on Friday December 01, 2017 @07:26PM (#15829105)
In case that wasn’t clear, i’m talking about Apple.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by make3 on Friday December 01, 2017 @07:55PM (#15829299)
he didn't say Apple though. I thought he meant in general. I was apparently wrong. in which case this is probably right.
Re:MacOS Update Accidentally Undoes Apple's “root” Bug Patch by Larrikin on Friday December 01, 2017 @07:26PM (#15829104)
Those have nothing to do with Apple. They are massive failures from other companies.