Skip to content
IDOR Write-up Intermediate

Disclose Emails, phone numbers, more For Facebook users who tried to add funds to their account

A payment endpoint used sequential, guessable identifiers, so an attacker could enumerate other users' pending payment records. This exposed personal details such as email, phone number, name, user ID, user-agent and fund amount for users who had tried the local payment option.

Mustafa Ahmed Follow

Published on medium.com

Bounty$500 View original

Bug Bounty

Mustafa, 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 payment lookup used predictable, incrementing identifiers and did not check that the requester owned the record.

Impact

Personal data including email, phone number, name, user ID, user-agent and fund amount could be disclosed for users who used the local payment option, reportedly around 7 million records at the time.

What the attacker needed

Access to the local payment option; victim used local payment to add funds

The fix

The vulnerability was fixed the day after the report was escalated.

How it was found

  1. Find the option to send a payment invoice to an email.
  2. Notice the request uses an incrementing numeric id and change it to send another user's invoice.
  3. Call the payment execute endpoint to obtain order and payment method identifiers.
  4. Use those identifiers in the payment information lookup request to read another user's record.

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.

When a website shows a record, it often uses a number to identify it. If those numbers simply count up (1, 2, 3...), anyone can change the number and peek at someone else's record. Here the payment records were numbered in order, so the researcher could walk through them and read other people's personal details.

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.

More by Mustafa Ahmed

View all

1 more disclosed report, best first.

More from Meta

View all

The newest disclosed reports for this program.

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.