Skip to content
Info disclosure Write-up Beginner

“The Low-Hanging Fruit That Pays Off: Hunting P4 Bugs”

Sensitive pages such as a money transfer page were served from the browser cache after logout, so pressing the back button showed account details without a login prompt. In a webmail case, the cached page still allowed sending email, turning information disclosure into an account takeover vector.

medium.com

Published on medium.com

I’ll let you in on a secret: some of my most consistent bug bounty payouts come from vulnerabilities that most hunters scroll right past. While everyone’s chasing fancy RCEs and complex SSRF chains, I’m quietly collecting bounties for flaws marked “P4 — Low Severity.”

Aman Sharma, 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 server did not send a Cache-Control header that prevents caching of sensitive pages, or set it too weakly.

Impact

An attacker with access to the same browser could view sensitive financial details after logout, and in a webmail case could send email from the cached account, though the text notes session cookies were invalidated and the CSRF token was only active for a short window.

What the attacker needed

Victim uses a shared or public computer; victim logs out without clearing browser history

The fix

Sensitive pages should be served with a Cache-Control header that prevents caching, such as no-store, no-cache, must-revalidate.

How it was found

  1. Log in to a test account on the target site.
  2. Navigate to a sensitive page such as money transfer.
  3. Click logout and return to the login page.
  4. Press the browser back button.
  5. Observe that the sensitive page loads from cache without a login prompt.

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, your browser may still keep a copy of the last page you viewed. If the site does not tell the browser not to store sensitive pages, anyone using the same computer can press the back button and see private information. In one case, the cached page even let the next person send email from the previous user's account.

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.