Existing sessions valid after removing third party auth
After a user disconnects a third-party authentication provider from their account, an existing session created through that provider remains active on another device. An attacker with access to that session could continue using the account even though the credential is no longer linked.
- Triaged in 4 hours
- Fixed in 17 hours
- Disclosed after 53 days
Hi team,
I noticed an authentication break when logging in with 3rd party credentials in https://hosted.weblate.org/
POC
1 access https://hosted.weblate.org/accounts/profile/#auth> link to a Google account (for example) 2 on other device access the same account using Google credentials 3 return to the device of step 1> remove the Google account at https://hosted.weblate.org/accounts/profile/#auth> disconnect
The session remains active on the device in step 2. So I continue with a valid session from credentials not linked to any account at https://hosted.weblate.org
Please check it.
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 does not revoke or invalidate existing sessions that were established through a third-party authentication provider when that provider is disconnected.
Impact
A session created through a third-party provider could remain valid after that provider is disconnected, so anyone holding that session could keep accessing the account.
What the attacker needed
An account; a linked third-party auth provider; access to a second device or session
How it was found
- Link a Google account to the profile on one device.
- On another device, sign in to the same account using Google credentials.
- Return to the first device and disconnect the Google account.
- Observe that the session on the second device remains 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 sign in with a service like Google, the website creates a session so you stay logged in. If you later remove that Google link, the website should end any sessions that were started with it. Here it did not, so someone already logged in that way stayed logged in.
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.