Budget Change Idor 1000 Bug
An IDOR vulnerability in a job platform's budget editing endpoint allowed any user to change another user's budget without taking over their account. The attacker could brute-force the short 'hid' parameter to target victims.
Published on infosecwriteups.com
Discover how an IDOR vulnerability allowed unauthorized budget changes in Private Program. Learn the steps to reproduce this security flaw and its potential impact on user privacy.
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 endpoint failed to verify that the authenticated user owned the budget being edited, relying only on a short, guessable identifier.
Impact
The unauthorized budget change could compromise user privacy and potentially result in financial losses for victims and the platform.
What the attacker needed
Two accounts (attacker and victim); ability to capture requests; brute-force short identifier
How it was found
- Create two accounts: one attacker and one victim.
- Capture the victim's 'Edit Budget' request using the attacker account.
- Brute-force the short 'hid' value to find the victim's identifier.
- Send the modified request with the victim's 'hid' value.
- Observe that the victim's budget has been 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.
An IDOR (Insecure Direct Object Reference) happens when a website uses a simple identifier, like a number or short code, to refer to a user's data but doesn't check if the person making the request is allowed to access that data. Here, the budget editing feature used an 8-character code that could be guessed, so an attacker could change someone else's budget without logging in as them.
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.