No authentication required to add an email address.
Adding a new email address to an account did not require re-authentication, even when two-factor authentication was enabled. An attacker with access to an open session could add and validate their own email, then use a one-time login link to reset the password and take over the account.
- Disclosed after 6 days
Hi Team, I hope this mongoose I'm sending will help make phabricator safer.
Description:
The issue in question, is that whenever you add a new email address to your account, no additional authentication is required. Furthermore, when the account has 2FA enabled, it's not necessary to enter high security mode when adding a new email address (But it is necessary to authenticate and login).
Of course a malicious individual would have to have access to an open account or hijack the session cookie. But since the session cookies have a long expiration period, it makes this attack more plausible. Specially considering that most people don't logout of their accounts when they are done using them, they just close the tab/browser.
Impact:
A malicious individual with access to an account, can add and validate an email address which can later on be used to get a one time login link and change the user password, thus compromising the account completely.
Recommendation:
Enforce asking the user for the account password prior to adding the new email address. In addition, if 2FA is active on the account, require high security mode to add a new email address.
I'm attaching screenshots of a step by step. Kind Regards, Alex.
Attachments








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 application did not require password confirmation or high-security mode for the sensitive action of adding an email address.
Impact
An attacker with access to an account could add and validate an email address, then use a one-time login link to change the password and fully compromise the account.
What the attacker needed
Access to an open account or session cookie
The fix
The application should require the account password before adding a new email address, and require high security mode if two-factor authentication is active.
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 an email to your account, the site should ask for your password again to prove it is really you. Here it did not, so someone who got into an unlocked session could add their own email and then use it to reset the password. This is called a session hijack risk.
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.