Skip to content
Account takeover Disclosed report Beginner

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.

ashesh Follow

Originally disclosed on HackerOne

  • 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:

  1. Log in to account A
  2. Change password of account A
  3. You will be automatically logged out.
  4. Log in with account B
  5. You will see Account A edit page
  6. 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?

The original report as published on HackerOne, by ashesh. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Log in to account A
  2. Change the password of account A
  3. The session is logged out automatically
  4. Log in with account B on the same browser
  5. 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.

More by ashesh

View all

19 more disclosed reports, best first.

More from HackerOne

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.