Skip to content
IDOR Disclosed report Beginner

Authorization bypass -> IDOR -> PII Leakage

A publicly accessible JavaScript file exposed an administrative endpoint that returned user application data without proper authorization checks. By changing an identifier parameter, an attacker could retrieve PII (full name, phone, email) of military personnel and their family members, potentially for around 50,000 records.

lubak Follow

Originally disclosed on HackerOne

  • Triaged in 1 hour
  • Fixed in 19 days
  • Disclosed after 43 days

Hi team! During testing ████ I found javascript file containing administrative panel functionality. It is accessible at: https://████/█████████ In this file I found an end point responsible for returning data about applications of the website users to the website administrators. The returned data contains PII data (Full name, phone and email) of military personnel, and or their family members.

References

Steps to reproduce:

Run following curl command to retrieve data: curl https://███/███ -X POST -data="url=%2F████████" -k

Modifying ██████████ parameter result in different Application being returned. I have tested retrieving following ids: █████.

Trying to retrieve record 60000 returns no information, so maybe ~50000 applications are accessible.

Impact

PII leak of military personnel and family members

System Host(s)

█████████

Affected Product(s) and Version(s)

/█████████

CVE Numbers

Steps to Reproduce

Run following command to retrieve data: curl https://███████/███ -X POST -data="url=%2F████████" -k

Modifying ██████ parameter result in different Application being returned. I have tested retrieving following ids: ███. Trying to retrieve record 60000 returns no information, so maybe ~50000 applications are accessible.

Suggested Mitigation/Remediation Actions

  1. admin.js should be available only after Administrator successfully logs in
  2. all administrative end points must check if authorized administrator is requesting them

The original report as published on HackerOne, by lubak. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the administrative endpoint lacked proper authorization checks, allowing any user to access sensitive data by manipulating an identifier.

Impact

An attacker could access PII of military personnel and family members, potentially affecting around 50,000 individuals.

What the attacker needed

Access to the JavaScript file; ability to send HTTP requests

The fix

The administrative JavaScript file should only be accessible after admin login, and all administrative endpoints must verify that the requester is an authorized administrator.

How it was found

  1. Find the JavaScript file containing administrative panel functionality.
  2. Identify the endpoint that returns user application data.
  3. Send a POST request with a url parameter to retrieve data.
  4. Modify the identifier parameter to retrieve different applications.

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

A website had a hidden admin page that anyone could find by reading its JavaScript code. The page let you look up people's applications by changing a number in the request, and it did not check if you were an admin. This meant personal details like names, phone numbers, and emails could be stolen.

What is IDOR?

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.

More by lubak

View all

2 more disclosed reports, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.