Email Verification Bypass A Strange Case
The email verification could be bypassed by adding a hidden email parameter to the profile update request, allowing the attacker to change the account email to an unverified address. The attacker could then log in with the new email and the same password without verifying the new address.
Published on infosecwriteups.com
Hey, What’s Up Fellow Hackers, hope you are staying safe and utilizing this (WFH or Online Classes ) time to increase your knowledge. So today I am going to share another interesting finding in which I was able to bypass the email verification.
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 accepted an email parameter in the profile update request without checking that the new email had been verified or that the user was authorised to change it.
Impact
An attacker could change the email address on their own account without verification, and potentially take over other accounts if the same technique works with a victim's email, though the author notes that did not work on this target.
What the attacker needed
A registered account; ability to intercept and modify requests
The fix
The server should require verification of the new email address before applying the change and should not accept hidden or unexpected parameters in profile update requests.
How it was found
- Navigate to the dashboard and edit the profile section.
- Capture the profile update request in Burp Suite.
- Add a hidden email parameter with a new address to the request.
- Forward the request and observe the email change.
- Log out and log in with the new email and the same password to confirm.
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.
When you sign up, the site sends a link to your email to prove it is yours. This report shows that a user could skip that step by sneaking an extra field into a form that updates their profile, changing the email on the account without proving they own it. That means someone could take over an account if they can guess or reuse a password.
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.