Skip to content
Access control Write-up Intermediate

From Free Nuggets to Full Access: How a Snack Craving Unwrapped M

The McDonald's mobile app validated reward points only on the client side, allowing manipulation to claim free items. Additionally, multiple internal systems had weak authentication, exposed secrets, and missing access controls, enabling unauthorised access to employee data and administrative functions.

Deven Chhajed Follow

Published on medium.com

Every good story starts with something small. For cybersecurity researcher BobDaHacker, it began with a craving for chicken nuggets.

Deven Chhajed, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the root cause was a failure to enforce security checks on the server side, relying instead on client-side validation and weak authentication mechanisms.

Impact

Attackers could obtain free food, access internal systems, view employee data, send phishing notifications, and deface web pages; some issues were fixed after disclosure.

What the attacker needed

Mobile app access; crew member account; knowledge of API endpoints

How it was found

  1. Test the McDonald's mobile app and notice that reward points are validated only on the client side.
  2. Manipulate the request to claim free items with insufficient points.
  3. Discover the Feel-Good Design Hub uses only a client-side password.
  4. Change the URL from /login to /register to bypass the proper flow and access an open registration endpoint.
  5. Register an account and receive the password in plaintext via email.
  6. Use a crew member account to access the TRT portal and search for any employee globally.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This report describes several security mistakes in McDonald's apps and websites. The main one is that the app trusted the user's device to check if they had enough reward points, so someone could change the request and get free food. Other issues included weak passwords, exposed API keys, and missing access controls that let low-level staff see sensitive data.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Deven Chhajed

View all

3 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.