The Ghost Password : How a Design Flaw Led to Full Account Takeover (ATO)
The student portal accepted a system-generated secondary default password even after the user changed their primary password, and the login had no rate limiting. An attacker who knew or guessed a numeric student ID and the short numeric secondary password could take over the account.
During the journey of learning about web vulnerabilities and during the practical application phase on real-world sites, I found a critical Account Takeover (ATO) vulnerability in a large University Student Portal. So I will share with you an analysis of a real-world authentication design flaw discovered during…
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 authentication design kept a second, system-generated default password valid after the primary password was changed, and the login lacked rate limiting or lockout.
Impact
An attacker could fully take over a student account, viewing or changing personal details, academic records and assignments; the text does not say whether any defence limited the attack.
What the attacker needed
A valid student ID; no rate limiting on login; short numeric default password
The fix
The account should keep only one valid password, enforce a stronger password policy, add rate limiting and lockout, and offer multi-factor authentication.
How it was found
- Obtain a valid student ID.
- Brute force the numeric default password because there are no attempt limits.
- Note that the secondary password is still accepted after the user changes the primary password.
- Log in with the secondary password and gain full access to the student 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.
A student portal gave every account two passwords: one the student sets, and a hidden backup made by the system. Changing your own password did not switch off the backup, so anyone who learned the backup could still log in as you. The login page also let someone try passwords over and over without being slowed down, which made guessing easier.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.