How I Found a Serious Security Problem in Magadh University’s Website and Why I Had to Contact the Governor of Bihar
The login page did not properly check the information entered by users before allowing them to log in, so someone could enter the system without a valid username or password. After entering, sensitive student data including Aadhaar details, marksheets and signatures was exposed and could also have been modified.
Published on m4y4nk.medium.com
Sometimes you find a security problem by accident. Sometimes you notice something that does not feel right, and you keep investigating until you find the truth.
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 login page did not properly validate the information entered by users before granting access.
Impact
Sensitive information of students from affiliated colleges, around 2 terabytes including Aadhaar details, marksheets and signatures, was exposed and could have been modified, which could have led to identity theft, fake documents, changed academic records or financial fraud.
What the attacker needed
Access to the public login page; no valid account needed
The fix
The vulnerability was fixed after the Governor's office contacted the university.
How it was found
- Look at the login page and notice that the information entered by users is not properly checked.
- Study and test the website carefully in a safe and responsible way.
- Create a safe proof of concept that only confirms the vulnerability.
- Enter the system without a valid username or password.
- Observe that sensitive student information is exposed and could be modified.
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 login page is supposed to check who you are before letting you in. Here, the check was too weak, so a person could get inside without a real account. Once inside, they could see and possibly change private details about students, such as marks and identity documents.
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.