Bug Bounty Journey — Valid Report Part 11
A request-submission feature allowed a logged-in user to change the name and email fields in the request body to another user's details, even though the UI blocked editing. This let an attacker submit requests as another account and associate the victim's email with the attacker's account.
medium.com
Published on medium.com
In this journey, I will share my experience with a valid report I submitted. This will be a series until I discover new vulnerabilities. 😊 Let’s begin!
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 trusted client-supplied name and email values without verifying they belonged to the authenticated user.
Impact
An authenticated user could submit requests on behalf of any other registered user, causing unauthorised actions in another user's name and an integrity violation of user identity.
What the attacker needed
A registered account; access to the request-submission feature; knowledge of another user's name and email
The fix
The server should validate that the name and email in the request belong to the authenticated user and reject any mismatch.
How it was found
- Register an account and find the request-submission feature.
- Send a request as a registered user and observe that name and email are auto-filled and not editable in the UI.
- Modify the name and email fields in the request to another user's details.
- Submit the modified request and observe that the system accepts it and associates the victim's email with the attacker's account.
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 you use a website, your browser sends requests to the server. Some fields in those requests are meant to be fixed by the website, but here the server trusted whatever the user sent. So a logged-in user could pretend to be someone else by editing the request, which is like forging a form.
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.