An Email Authentication Bypass, But Marked as N/A in NASA domain
A user could change their account email to an unverified address and then reuse the original registration verification link to activate the account under the new email. This allowed the attacker to log in with the new email and their own password, effectively bypassing email verification.
Published on medium.com
Thank you for 2K Followers, keep showing love :) Hi, Ajak Amico’s welcome back to another blog. Today I will explain, How I found an Email authentication bypass leads to pre-account takeover, but unfortunately I was marked as N/A since there was no impact to the users.
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
The attacker could log in with an arbitrary email address (such as an admin address) without controlling that inbox, but the report was marked N/A because there was no impact to users.
What the attacker needed
A free account; ability to change email in profile
The fix
The verification token should be bound to the specific email address it was issued for, so that changing the email invalidates old tokens.
How it was found
- Register an account with a controlled email address and confirm the verification link.
- Log in and go to the profile edit page.
- Change the email address to a target address (e.g., an admin email).
- Receive a message that a verification email was sent to the new address and the profile is pending.
- Open the original verification email sent to the controlled address and click its link again.
- Log in using the new email address and the original password.
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, a website often sends a link to your email to prove the address is yours. This site let you change your email to someone else's address, but it still accepted the old link to confirm the new address. That meant an attacker could make an account look like it belonged to a different email without ever accessing that inbox.
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.