Live data from Hacker News

'123456' password exposed chats for 64M McDonald's job applicants

bleepingcomputer.com

31–40 of 81 posts

Re: '123456' password exposed chats for 64M McDonald's job applicants

#31
post #12

Earlier quoted context omitted.

Yes and… UUIDs aren’t “just more difficult to guess.” They are inconceivably harder to guess. > Put another way, one would need to generate 1 billion v4 UUIDs per second for 85 years to have a 50% chance of a single collision.

You are both right. UUIDs, if randomly generated from a CSPRNG are impossible to guess. But not all UUIDs are generated from a secure RNG, or use randomness at all.

I may be a dingleberry but who doesn't use uuidv4 for everything?

Re: '123456' password exposed chats for 64M McDonald's job applicants

#32
post #4

Wait, 64 million applicants, not applications? That's like 20% of the US population!

Others have said it's for the global site, but would 64 million really be that off for the US? I just looked it up 13 of the 40k francises are in the US. Assuming linearity, thats about 21 million US applicants since they started keeping centralized, digital records. 20% of Americans younger than 40 is not a bad guess.

Which is 1,615 applicants per US franchise.

Seems totally reasonable to me.

2 shifts of 12 employees is 24 employees per day. Assume they all work there for 6 months on average, then if the system's been up for 10 years, that's 480 employees per franchise over a decade. Which means for every employee they hired, 2 were either rejected or chose not to work there.

Working at McD's is something a lot of people do for a few months when they're young.

Re: '123456' password exposed chats for 64M McDonald's job applicants

#33

Incredible! That’s the combination to my matched luggage!

For the uninitiated (ie probably anyone under 35) https://m.youtube.com/watch?v=a6iW-8xPw3k

Earlier this year, Mel posted a video saying they are making a sequel.

Re: '123456' password exposed chats for 64M McDonald's job applicants

#34

It's funny how mcdonalds did everything in their power to make it almost impossible to run their mcdonalds app on a rooted phone, but their backend infrastructure is beyond broken (security wise)

The McDonalds consumer-facing app is quite possibly the worst app from a major company I've ever encountered. It's shockingly bad.

Re: '123456' password exposed chats for 64M McDonald's job applicants

#35
post #20

It's funny how mcdonalds did everything in their power to make it almost impossible to run their mcdonalds app on a rooted phone, but their backend infrastructure is beyond broken (security wise)

Btw, I wondered why they flight root on the phone at all?

My theory is they store payment information on the mobile app. The app connects to the store wifi automatically, even when going through the drive thru. And processes the payment then. I theorized it so they don’t store credit card info on their servers, simplifying their PCI audits. Presumably they think all that is better than preventing the app from running on rooted phones.

Re: '123456' password exposed chats for 64M McDonald's job applicants

#36
post #31

Earlier quoted context omitted.

You are both right. UUIDs, if randomly generated from a CSPRNG are impossible to guess. But not all UUIDs are generated from a secure RNG, or use randomness at all.

I may be a dingleberry but who doesn't use uuidv4 for everything?

UUIDv7 indexes better in databases

Re: '123456' password exposed chats for 64M McDonald's job applicants

#37
post #11

Earlier quoted context omitted.

A third problem that senior engineers might recognize: using numeric IDs on an outward facing object. UUIDs would have made this impossible as well

Not impossible, just more difficult to guess. "Security through obscurity" isn't really good enough.

Yes, you are technically right -- I should have said "functionally impossible". It's not actually impossible, but close enough for the average random onlooker.

Re: '123456' password exposed chats for 64M McDonald's job applicants

#38
post #3

It sounds like there were two separate problems: The first was that 123456 was the credentials for the admin panel. The second was an insecure direct object reference, where the lead_id querystring parameter can be changed on an API call to retrieve another applicant's data.

A third problem that senior engineers might recognize: using numeric IDs on an outward facing object. UUIDs would have made this impossible as well

Ok, this is probably a stupid, very bad, no good idea considering I've not heard of people doing this, but can't you retain many of the benefits of numerical IDs but also the secrecy of UUIDs by using an HMAC ?

With HMAC, you can still ask for some sequential IDs

SipHash128(0, KEY) = k_0

SipHash128(1, KEY) = k_1

You get the same number of bits as a UUID.

You can't, however, sort by IDs to get their insertion sequence, however. For that you'd need something like symmetric encryption but this is already a bad idea, no reason to make it worse.

Re: '123456' password exposed chats for 64M McDonald's job applicants

#40

It's funny how mcdonalds did everything in their power to make it almost impossible to run their mcdonalds app on a rooted phone, but their backend infrastructure is beyond broken (security wise)

The McDonalds consumer-facing app is quite possibly the worst app from a major company I've ever encountered. It's shockingly bad.

The UI is atrocious.

I do computers for a living and can barely navigate and figure out what’s going on.

Post reply on HN