INTRODUCTION TO CYBER SECURITY: OFFENSIVE SECURITY LINUXENICORP W
The dashboard page used a numeric id parameter to select which user's data to show, without checking that the logged-in user was allowed to see it. By changing the id, an attacker could view other users' balances, email addresses, phone numbers and recent transactions, including an administrator's.
Halo teman-teman di writeup kali ini gw bakal jelasin cara menyelesaikan Challenge : IDOR di materi Introduction To Cyber Security bagian Offensive Security LINUXENIC Corporation. So Let’s go!
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 fetched records using the id supplied in the request without verifying that the logged-in user owned or was authorised for that record.
Impact
An attacker could view other users' sensitive information such as balances, email addresses, phone numbers and recent transactions, including an administrator's account.
What the attacker needed
A valid user account; access to the challenge environment
The fix
The application should validate authorisation on the server side and ensure the logged-in user is permitted to access the requested record, not just fetch data by the supplied id.
How it was found
- Log in to the application with the provided user credentials.
- Open the dashboard URL that contains the id parameter.
- Change the id value to another number.
- Observe another user's account details and the flag.
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.
A web page was showing account details based on a number in the address bar, like id=1001. The site never checked whether the person asking was allowed to see that account. Changing the number to another user's number showed their private information.
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.