No Password Verification on Changing Email Address Cause Account takeover
The email-change flow on the site did not require the current password and sent the verification message only to the new address, without notifying the old one. An attacker with access to an already-signed-in session could change the email, verify it, and then use the password-reset flow to take over the account.
- Triaged in under an hour
- Fixed in 5 months
- Disclosed after 6 months
In coursera.org website, there is no password verification on changing email id.
Generally when user try to change the password , they were asked to verify the request by entering old password. For the same reason a verification should be there on changing email.
But the worst part is, when user change email address then coursera.org website send verification mail on new mail id without asking current password or inform to old email id.
Impact
if some one left his account open on public computer(say office or cafe), then attacker can change the email ,verify it himself. Then abuse forgot password field to take over whole account.
Suggested mitigation: a password field can be applied (just like Facebook do) or verification mail should be send on old email id registered.
If you required any POC then Let me know.
Thanks
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the email-change endpoint lacked a re-authentication check and sent the confirmation only to the new address, so possession of an active session was enough to rebind the account.
Impact
An attacker with access to an open session could take over the whole account, though this depends on the victim leaving the session unattended.
What the attacker needed
Victim leaves session open on shared computer; attacker has physical access to that session
The fix
The email-change flow should require the current password and send a notification or confirmation to the old address; the text does not say whether this was fixed.
How it was found
- Leave an account signed in on a shared or public computer.
- From that session, change the account email address.
- Confirm the verification message that arrives at the new address.
- Use the forgot-password flow to set a new password and take over the 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 report has not been written yet. The Original tab links to the source.
When you change the email on an account, the site should ask for your current password and tell your old email address. Here it did neither, so anyone sitting at a computer where you forgot to log out could swap the email to their own, confirm it, and then reset the password to lock you out.
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.