Cache leads to Privacy leaks
After a user changes their password and is logged out, the next person to log in on the same browser is shown the previous user's account edit page, exposing that user's username. An attacker with access to the shared browser could learn the identity of the prior user.
- Triaged in 3 days
- Fixed in 8 days
- Disclosed after 27 days
POC IS ATTACHED
Description:
This bug allows me to see others users usernames even if they don't want to.
Steps to reproduce:
- Log in to account A
- Change password of account A
- You will be automatically logged out.
- Log in with account B
- You will see Account A edit page
- This means Privacy leak (Username of A)
Exploit scenario:
User ABC wants to be completely anonymous , He signed up for Hackerone but still want to be hidden, He never tell anyone his username. But one day he changed his password and he was logged out automatically.Then immediately his friend asked for his PC, Thinking that he was logged out, and his friend won't see his information.His friend logged in with his own account. The next screen he sees is http://hackeone.com/ABC/edit he was surprised, by seeing this he now knows that His friend just logged out from hackerone so it must be his account. But ABC trusted Hackerone that once logged out his cache and username will be deleted(no forever).
BTW: When I make your website get a 523 error , Is it vulnerability?
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
Impact
A user's username could be disclosed to whoever uses the same browser next, defeating the expectation that logout removes their information.
What the attacker needed
Shared browser or device; victim changes password and is logged out; attacker logs in afterwards
How it was found
- Log in to account A
- Change the password of account A
- The session is logged out automatically
- Log in with account B on the same browser
- The edit page for account A is displayed
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 log out of a website, the browser may still keep a copy of the last page you saw. Here, after someone changed their password and was logged out, the next person to log in on the same computer saw the previous person's account page instead of their own. That revealed the previous person's username, which they wanted to keep private.
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.