medium.com 2 min read Original Source

From 403 Forbidden to PII Exposure: How I Escalated a Low-Severity Bug to a High P2

Recently, while testing a web application, I stumbled upon an interesting vulnerability that led to a high-severity data exposure. Here’s a breakdown of the full journey, from initial curiosity to reporting a P2-level issue (and teasing an even bigger finding soon!).

Reconnaissance Phase

Before diving into the specific functionality, I performed some recon steps to understand the application better:

  • Mapped the application structure by manually browsing all accessible sections.
  • Enabled Burp Suite to passively capture traffic while interacting with different features.
  • Looked through JavaScript files loaded in the browser to identify potential hidden endpoints.
  • Checked Common endpoints and JavaScript comments for any unreferenced paths.
  • Noticed interesting areas! a ( Portal User Guide ), which hinted at downloadable PDF guide.
  • Observed URL patterns and noted any parameters that could be manipulated.

This groundwork helped me identify promising targets and prepare for deeper exploitation.

Step 1: The Discovery

After logging into the portal, I navigated to the Portal User Guide section and clicked on the “View More” option (“portaluser.png”). At this point, I enabled Burp Suite Proxy Intercept to inspect the network traffic.

When I clicked the Download button, I observed the following request captured in Burp:

POST /Dashboard/GetFile HTTP/1.1
Host: www.domain.com
Cookie: [REDACTED]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Content-Type: application/x-www-form-urlencoded
Content-Length: 256

__RequestVerificationToken=X&id=14737&syd=X
POST /Dashboard/GetFile HTTP/1.1
Host: www.domain.com
Cookie: [REDACTED]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0
Content-Type: application/x-www-form-urlencoded
Content-Length: 256

__RequestVerificationToken=X&id=14737&syd=X

I noticed that the file download was parameterized by an id. Naturally, I tried to modify the id value to test for IDOR (Insecure Direct Object Reference).

However, changing the id immediately triggered a 403 Forbidden response. It seemed they had some basic access controls in place.

Step 2: Thinking Outside the Box

Even though direct id tampering failed, I wasn’t ready to give up. I tried:

  • Sending a GET request to /Dashboard/GetFile
  • Accessing /GetFile directly

Both methods resulted in 403 errors.

Realizing the frontend endpoints were heavily protected, I decided to fuzz the URL path itself.

I used ffuf for path fuzzing with a basic command like:

ffuf -u https://www.domain.com/FUZZ/GetFile -w /path/to/wordlist.txt -mc 200,302
ffuf -u https://www.domain.com/FUZZ/GetFile -w /path/to/wordlist.txt -mc 200,302

This allowed me to discover several hidden endpoints that responded differently from the main /Dashboard/GetFile route.

Boom! Suddenly, I found accessible paths that weren’t protected properly.

> /Profile/GetFile

Step 3: Exploiting the Discovery

Upon discovering the alternative endpoints, I realized they lacked the strict access controls applied elsewhere.

By systematically bruteforcing the id values using a simple Burp Intruder attack, I was able to download:

  • Internal documentation
  • Files containing user emails, names, loyalty points, and more

This amounted to a massive PII (Personally Identifiable Information) leakage across thousands of users.

Although I didn’t find credentials or authentication tokens to chain into an even bigger impact, the sheer amount of leaked personal information made this a solid P2 — High Severity issue.

Step 4: Reporting and Reward

I compiled a detailed report with:

  • The full recon steps
  • The ffuf fuzzing methodology and command example
  • Proof of exposed sensitive data
  • Suggestions for patching the vulnerable endpoints

The team reviewed it, confirmed the issue, and classified it as P2 High Severity with a reward.

Final Thoughts (and a Tease)

While this bug alone didn’t escalate to critical, the leaked data gave me a new angle. Spoiler alert: I found an even more impactful vulnerability based on this exposure, which eventually led to a critical finding. I’ll share that story soon. 😉

Moral of the story: Never stop at a 403. Fuzz everywhere — parameters, paths, even methods — and always think outside the box.

Stay tuned for part two!

If you enjoyed this and wish to support my work, you can

buy me a coffee here! ☕

Key Takeaways:

  • Don’t get discouraged by initial 403 responses.
  • Always fuzz both parameters and paths.
  • Small mistakes by developers (like leaving old endpoints) can lead to major exposures.
  • Methodical recon and fuzzing pay off big time.

Happy hacking everyone!