Running 2 accounts with a single email #3
The account settings flow allowed a user to add a third-party association using an email already tied to another account, then disconnect the original email so two accounts ended up sharing one address. Logging out and back in then produced a server error, indicating the duplicate-email state was not handled.
- Triaged in 8 hours
- Fixed in 3 months
- Disclosed after 14 months
Following the fixes: #241608 & #224072. there's still another way round this.
##Reproduction Steps
- Register 2 accounts (Preferably using Gmail not third party)
- Login both accounts on separate browsers
- In Browser1, navigate to https://demo.weblate.org/accounts/profile/#auth
- Add a new association with the Google third party link using the registered email address in Browser2
- Fill the Password and Add the Association
- Disconnect the email on the account initially
- Email will be changed to the new one added in (4)
- Now, both browsers have the same email address i.e 2 accounts with a single email
- Logging out any of the account and trying to login leads to a server error.
Screenshots are attached below.
Shuaib.
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 third-party association step did not check whether the supplied email already belonged to another account, and disconnecting the original email left the duplicate in place.
Impact
Two accounts could share one email address, and logging in to either then returned a server error.
What the attacker needed
Two accounts; Gmail-based registration preferred; two separate browsers; access to the profile auth settings
How it was found
- Register two accounts, ideally with Gmail rather than a third-party login.
- Log in to each account in a separate browser.
- In the first browser, open the profile authentication settings page.
- Add a Google third-party association using the email address registered to the second account, entering the password to confirm.
- Disconnect the original email on that account, which changes it to the newly added address.
- Log out of either account and try to log in again to observe the server error.
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.
A website normally expects each email address to belong to exactly one account. Here the settings page let someone attach a Google login using an email that another account already used, and then remove the original email, so two accounts shared one address. Afterwards the login system got confused and returned an error instead of signing the person in.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.