Skip to content
Info disclosure Write-up Beginner

P4 Bugs and PoC | Part 3

The article describes two low-severity issues: content spoofing, where a URL parameter is reflected into the page so an attacker can display fake messages, and failure to invalidate sessions after a password change, so an old session stays logged in. An attacker could mislead users with fake content or keep using an account after the victim resets their password.

medium.com

Published on medium.com

👋 Hi everyone! I’m Abhijeet Kumawat, a passionate bug bounty hunter and security researcher.

Abhijeet kumawat, 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 reflects URL parameters into the page without sanitisation and does not revoke existing sessions when a password is changed.

Impact

An attacker could trick users with fake messages or keep using an account after the password is reset, though the text does not show a real target or confirmed exploitation.

What the attacker needed

Victim clicks a crafted link; attacker already has a session; victim resets password

The fix

The application should sanitise or encode URL parameters before rendering them and should invalidate all active sessions when a password is reset or changed.

How it was found

  1. Visit the target login page with an error parameter in the URL.
  2. Change the error parameter value to different text.
  3. Press Enter and check whether the modified message appears on the page.
  4. Create an account and log in using two separate browsers or normal and incognito mode.
  5. In the first browser, change or reset the password.
  6. In the second browser, try to modify profile details and refresh to see if the session is still 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 write-up has not been written yet. The Original tab links to the source.

Content spoofing means a website takes text from the address bar and shows it on the page, so someone can make the site display a message it did not intend. The second issue is that changing your password should log you out everywhere, but here other devices stay logged in. That means someone who already had your session could keep using your 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.