Skip to content
Info disclosure Write-up Beginner

Most Overlooked & Easiest P4 Vulnerability

After logging out, pressing the browser's back button still showed the previously signed-in page, so someone using the same browser could see another user's data. The author attributes this to missing cache-control headers.

medium.com

Published on medium.com

Ok Let’s Start. Myself progprnv, A Cybersecurity researcher and passionate web 3 guy.

progprnv, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the application did not send cache-control headers telling the browser not to store authenticated pages.

Impact

On a shared or public computer, the next person could press back and view the previous user's signed-in pages, though this depends on the browser keeping the page in its cache.

What the attacker needed

Access to the same browser after logout

How it was found

  1. Log in to the target website.
  2. Go to the sign-out page and find the logout widget.
  3. Click logout or sign out.
  4. Press the browser's back button.
  5. Check whether the previously signed-in page is shown again.

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 write-up has not been written yet. The Original tab links to the source.

When you log out of a website, the browser should forget the pages you saw while logged in. Here, the browser kept a copy of those pages, so pressing the back button showed them again. Anyone who later uses the same computer and browser could see the previous person's private information.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.