How I Was Able To Find Bac On The University Website Leading To Result Dumping
A university website had a login modal that allowed logging in as any user by typing a username, without a password. The attacker logged in as an exam admin and could view all students' results, including unpublished ones.
Published on infosecwriteups.com
My name is Krishnadev P Melevila. I am a security researcher working for many startups.
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 log in as any user, including an exam admin, and view all students' results, including those not yet published.
What the attacker needed
Access to the university website; no password required
The fix
The university released a patch within 24 hours, and the attack is no longer possible.
How it was found
- Open the university website and view the page source.
- Find a modal called 'runas' with an input field.
- Type a letter to see a dropdown of usernames.
- Type 'asstadmin' and click login to log in as that user.
- Type 'exam' to find 'examadmin' and log in as that user.
- View all students' results, including unpublished ones.
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.
The website had a login box that only asked for a username, not a password. By typing a username like 'examadmin', the attacker could log in as that person and see private data such as exam results.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.