Skip to content
IDOR Write-up Beginner

Panera Bread did nothing about its customer data vulnerability for eight months

An API endpoint allowed anyone to retrieve sensitive personal data for any user by simply incrementing a numeric identifier, without authentication. The attacker could access full names, addresses, emails, dietary preferences, usernames, phone numbers, birthdays, and partial credit card numbers in bulk.

medium.com

Published on medium.com

tl;dr: In August 2017, I reported a vulnerability to Panera Bread that allowed the full name, home address, email address, food/dietary preferences, username, phone number, birthday and last four digits of a saved credit card to be accessed in bulk for any user that had ever signed up for an account.This includes my…

PB, 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 API endpoint lacked proper access controls, allowing unauthenticated users to retrieve data for any user by guessing or incrementing an identifier.

Impact

An attacker could access sensitive personal and financial information for millions of users, and the vulnerability remained unpatched for eight months despite reporting.

What the attacker needed

No authentication required; knowledge of API endpoint

The fix

The vulnerability was eventually fixed after public disclosure, but only after eight months of inaction.

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.

A website's API is like a waiter that takes your order and brings back data. Here, the waiter would hand over anyone's personal information if you simply asked for it by number, without checking if you were allowed. By changing the number one by one, someone could collect data on every user.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.