How Easily I Found My First P2 on Bugcrowd
A form that updates all user profile fields lacked CSRF protection, so an attacker could make a logged-in victim submit it and change the victim's account data. The reporter demonstrated this with a locally hosted attack page opened in Firefox while authenticated.
Published on medium.com
Hey Hackers, This’s mrhashimamin And today I’ll talk about my first P2 ( high ) bug that i found on a Vulnerability Disclosure Program ( VDP ) on bugcrowd ( Let’s call it foo.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
Impact
An attacker could change a logged-in victim's account data without their consent, though the report does not show account takeover or other escalation.
What the attacker needed
Victim is logged in; victim visits attacker page
How it was found
- Sign up and sign in to the auction site.
- Notice that one form changes all user data.
- Create a CSRF attack page and save it locally.
- Open the attack page in Firefox while authenticated.
- Observe that the user data was changed.
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.
CSRF is when a malicious website tricks your browser into sending a request to another site where you are already logged in. Here, the profile update form had no protection, so a page the attacker controls could silently submit it and change the victim's details.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.