In under age (<18), How I Hacked Multi- Billion-Dollar-Corp and got first 4 fig. $2600 Bounty!
An order document endpoint used a sequential orderId parameter without proper access control, so changing the last digit returned PDFs containing other customers' personal and payment details. An attacker could enumerate order IDs to download sensitive information such as names, addresses, phone numbers and payment QR codes.
Published on medium.com
👋 Hello, I am Manan Sanghvi, and this is my first write up on how, at under age ( <18 ), I got my first 4 figure $$$$bounty from aMulti-Billion-Dollar Organization through Hacking them Ethically.
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 server relied on a guessable sequential orderId to fetch order documents without verifying that the authenticated user owned that order.
Impact
An attacker could access other customers' personal data, including addresses, order details, phone numbers, apartment details and payment QR codes, by guessing order IDs.
What the attacker needed
A user account on the shopping site; ability to place an order; intercepting proxy such as Burp Suite
The fix
The server should verify that the authenticated user owns the requested order before returning its documents, and should use non-guessable identifiers.
How it was found
- Create an order on the shopping site without completing payment.
- Intercept the request sent when clicking the order document option.
- Note the orderId parameter in the request.
- Change the last digit of the orderId and send the request again.
- Observe the response containing URLs to order and invoice documents with other customers' data.
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 uses a simple number to identify your order, and does not check that the order belongs to you, anyone can try nearby numbers to see other people's orders. This is called an insecure direct object reference (IDOR). Here, changing one digit in the order number returned a PDF with another customer'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.