Live data from Hacker News

Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

news.ycombinator.com

41–50 of 269 posts

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#41
post #17

Earlier quoted context omitted.

> Well, this is pretty disappointing. Docker doesn’t let you install it without an account, so I registered and used it for maybe a day in all. And poof, there goes my account data. Eh? Doesn’t let you use what without an account? Anyone can pull images anonymously. An account is only for publishing.

Downloading Docker CE for mac or windows requires an account. https://github.com/docker/docker.github.io/issues/6910

Direct links still work.

Mac: https://download.docker.com/mac/stable/Docker.dmg

Windows: https://download.docker.com/win/stable/Docker%20for%20Window...

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#42

What permissions did the leaked tokens have? If they had write access, then leaked personal data is the least of anyone's worries. The real concern is how close the hackers came to infiltrating the image source for virtually every modern microservices system. If you could put a malicious image in say alpine:latest for even a minute, there's no telling how many compromised images would have been built using the base i…

Pretty sure (don't quote me) those are read only and repo specific but that could contain all sorts of juicy info depending how lax you are with security of configs in private repos.

Even then just read access to code often allows enough info for leveraging/escalating privilege.

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#43

I did not get any email but my github is showing dozens of failed login attempts over the last 3 days.

Sending 190k emails takes time but please update us here if you don't receive in a day or so. - curious if their 190k is accurate or downplay spin.

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#44
post #28

Docker Hub being hacked was basically just a question of time. With how much of the internet blindly pulls images from it, the potential gain from hijacking just one high-profile one would be monumental.

I was originally going to argue with it being "just a matter of time" -- there is such a thing as good security practices. It's certainly not "just a matter of time" before Microsoft or Google see such compromises. I'm pretty confident that these companies have their sh*t in order. But no, not Docker. You're totally right; with as important as their registry is to well funded attackers, and as startup-y and "agile" a…

it is of course just a matter of time for either of the companies you mentioned to "be hacked" (obviously it's happened countless times with Microsoft, both the OS and their cloud services like O365, and there was a recent high profile revelation that the google apps suite APIs exposed user info to developers). the difference is incident response and layered security.

as long as you're using software somewhere in the stack that isn't like maturity level 5, AND you don't have constant audits looking for novel attacks on working-as-intended systems, you're pretty much guaranteed to inherit (or create) a vulnerability at some point, and if you're important enough it will get exploited. the reason that doesn't mean we should start modeling computer systems as "living organisms that eventually get old and die" and should keep modeling security like war is that when you get hit, you can respond. all the layers matter, and insofar as Microsoft or Google do it right, they primarily do it right by having a mature process for monitoring, patching, isolating, etc.

as for docker hub though, yeah i'm totally with you. i'm just saying we shouldn't overestimate the preventive capacity of anyone, honestly. if you're doing anything important over the internet at all, you're making some compromises somewhere.

here are 2 links to things i handwaved at above, for example's sake:

https://www.wired.com/story/microsoft-email-hack-outlook-hot...

https://www.forbes.com/sites/kateoflahertyuk/2018/10/09/goog...

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#45
post #32

Earlier quoted context omitted.

Fun fact, there was a universal XSS vulnerability on google (including search, support, accounts, cloud, etc) found just last week [0]. I'd say it's always just a matter of time. That doesn't mean they don't have everything in order, but securing everything as much as possible is half the battle. The other half is a solid response when things do happen, which we will now see in how Docker handles this situation. [0]…

And do we ever find out how much that was being exploited "in the wild"?

we grit our teeth and "believe" that anyone traceably affected got an email directly from the company or something :D

(that said, google main page vulnerable to xss is kind of like... what, we're afraid someone will take over google and put some cryptominers on the google.com main page?)

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#46

Earlier quoted context omitted.

Downloading Docker CE for mac or windows requires an account. https://github.com/docker/docker.github.io/issues/6910

Direct links still work. Mac: https://download.docker.com/mac/stable/Docker.dmg Windows: https://download.docker.com/win/stable/Docker%20for%20Window...

True, but they deliberately obfuscate that to get people to sign up. Not a great look.

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#47
post #21
post #17

Earlier quoted context omitted.

> Well, this is pretty disappointing. Docker doesn’t let you install it without an account, so I registered and used it for maybe a day in all. And poof, there goes my account data. Eh? Doesn’t let you use what without an account? Anyone can pull images anonymously. An account is only for publishing.

Installing Docker for Mac/Windows has required users to login for awhile now.

It doesn’t require one to use it. I use it daily on MacOS and I don’t have an account.

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#49
post #28

Earlier quoted context omitted.

I was originally going to argue with it being "just a matter of time" -- there is such a thing as good security practices. It's certainly not "just a matter of time" before Microsoft or Google see such compromises. I'm pretty confident that these companies have their sh*t in order. But no, not Docker. You're totally right; with as important as their registry is to well funded attackers, and as startup-y and "agile" a…

You are aware that Google identified a vulnerability so awful that they hid it from the public so as not to draw government scrutiny, did not retain access logs, and ultimately shut down a major public application? It wasn't authentication credentials, but still.

Which vulnerability was this?

Re: Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled

#50

Earlier quoted context omitted.

And do we ever find out how much that was being exploited "in the wild"?

we grit our teeth and "believe" that anyone traceably affected got an email directly from the company or something :D (that said, google main page vulnerable to xss is kind of like... what, we're afraid someone will take over google and put some cryptominers on the google.com main page?)

The Microsoft Approach... 'people totally didn't access your email body... except we eventually owned up to it after it got leaked'
Post reply on HN