Generating Unlimited Free Travel Gift Invites | IDOR
The invite link system allowed an attacker to modify the euid and ri parameters to any number and still generate valid gift cards, and also spoof the username in the URL. This enabled unlimited free travel gift invites without going through the intended system.
Originally disclosed on HackerOne
- Disclosed after 36 days
After registration you can invite your friends to get some offer on there first trip. Notice that this system is flawed and attacker can generate as many invites he wants without going through the system at all.
Original Invite link:
http://www.airbnb.com/c/spent1?euid=ed736125-704e-f1ec-bb76-4ca60026141d&ri=14052412&s=30
Now i tweaked euid and ri. They can take any number as input and still generated valid gift card.
https://www.airbnb.com/c/fun?euid=2&ri=14052213&s=30
Also we can spoof user name as well by modifying part after c.
See poc for full demonstration: https://drive.google.com/file/d/0B0ZK8lhjLLHwcDVCdjNodmd0Qk0/view?usp=sharing
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could generate unlimited free travel gift invites without going through the intended system.
What the attacker needed
A free account
How it was found
- Register an account and obtain an invite link.
- Modify the euid and ri parameters to arbitrary numbers.
- Use the modified link to generate valid gift cards.
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 report has not been written yet. The Original tab links to the source.
When you invite a friend, the website gives you a special link with some numbers in it. The website didn't check if those numbers were real, so someone could change them to anything and still get free gift cards. This is like a coupon that works no matter what code you write on it.
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.