Skip to content
Info disclosure Write-up Beginner

P4 Bugs and POC | Part 7

The article describes two low-severity issues: uploaded images retain EXIF metadata including geolocation and device details, and logging out in one browser tab does not invalidate the session in another tab. An attacker could extract sensitive user information from images or continue using a logged-out session to make changes.

kumawatabhijeet2002 Follow

Published on medium.com

In this series, we’ll dive deep into each bug type, explore how they work, and provide step-by-step proof-of-concept (PoC) demonstrations. Trust me, if you stay consistent and apply these techniques, you’re bound to find valid P4 bugs on real-world targets.

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 does not strip EXIF metadata from uploaded images and does not invalidate all active sessions on logout.

Impact

The EXIF issue could expose user geolocation and device details, leading to privacy violations or physical security threats; the session issue could allow session hijacking and unauthorised changes, though the text does not show a real attacker exploiting it.

What the attacker needed

Ability to upload an image; ability to download the uploaded image; access to the same account in two tabs

The fix

The application should strip EXIF metadata from uploaded images and invalidate all active sessions on logout.

How it was found

  1. Visit the website and go to the upload section.
  2. Upload an image that contains EXIF metadata.
  3. Download the uploaded image from the site.
  4. Use an online EXIF viewer to inspect the downloaded image and extract sensitive data.
  5. Open the same account in two tabs of the same browser.
  6. Log out from one tab, then use the other tab to change account details and refresh to confirm the changes were saved.

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 take a photo with a phone, the image file can contain hidden extra information such as where you were and what device you used. This is called EXIF metadata. If a website shows that image without removing this hidden data, anyone who downloads the image can read it. Separately, logging out should end your session everywhere, but here it did not, so someone with access to the still-open tab could keep using the account.

What is Info disclosure?

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

More by kumawatabhijeet2002

View all

10 more disclosed reports, best first.

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.