Add me email address Authentication bypass
LinkedIn's 'add email' flow let an unverified second email address be used to sign in to the account that owns the primary email. An attacker who controls the second address could log in with the primary account's password without ever verifying that address.
Originally disclosed on HackerOne
- Disclosed after 25 days
hi, this vulnerability can able to access user account without email verification in linkedins' add me email address function page. user add mail2 email address. without mail2 email address verification user can fully access mail1 linkedin account using mail2 email address.
In linkedin mobile application, we can add second email address, and its display "We can't use this email for your account until you verify it." so, it'll play authentication logic error.
TO REPRODUCE :
- have account mail1 & mail2.
- login to mail1 linkedin account.
- go to https://www.linkedin.com/psettings/email , add mail2 email address.
- then remove mail2 email address.
- linkedin sent verification link to mail2s' gmail.
- copy this link, open private tab and paste it.
- click signin button and type mail1s' password.
- will login successfully.
ATTACHED Detailed Reproduce Video below
Impact
User/attacker can login successfully without email verification and also, authentication logic error happened. login using unverified email address, can't notify login successful message in the primary email address. email2 login n-no. of time without verification, and also can't notify login message to mail1(primary email) gmail account.
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 verification link issued for the second email stayed valid after the address was removed and was tied to the primary account rather than to the unverified address.
Impact
An attacker controlling the second email could log in to the primary account without verification, and the primary address would not be notified of the login.
What the attacker needed
Control of a second email address; primary account password; victim clicks nothing; attacker acts directly
How it was found
- Have two email addresses, one for the primary account and one as the second email.
- Log in to the primary LinkedIn account.
- Add the second email address on the email settings page.
- Remove the second email address again.
- Open the verification link sent to the second address in a private tab and sign in with the primary account's 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 report has not been written yet. The Original tab links to the source.
When you add a second email to an account, the site normally sends a link to prove you own it. Here, the link still worked after the second email was removed, and it let someone sign in to the main account without that proof. That means a person holding the second email could get into the account.
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.