Skip to content
IDOR Disclosed report Beginner

Information Disclosure (can access all ███s) within ███████ view █████████ Portal

The portal used a predictable, base64-encoded sequential identifier in a GET parameter to reference records, and did not check whether the logged-in user was authorised to view that record. Any authenticated user could change the parameter to read other people's records, which included partial Social Security numbers and assignment details.

archang31 Follow

Originally disclosed on HackerOne

  • Triaged in 12 hours
  • Fixed in 7 days
  • Disclosed after 8 months

Summary by the program

An information disclosure vulnerability was discovered on a DoD system.

The report

Summary: Once ███████ authenticated (I did not mess around to see if I could reproduce without authentication), any user can view any ██████████ simply by changing the offasgid HTTP GET parameter value in the ██████ view █████████ portal link.

Description: I was looking through my previous ███████s and noticed I was receiving urls like https://█████████/portal/viewrfo.aspx?offasgid=MjAwODAyMTg1Nw== . This url is clearly expecting a HTTP GET parameter offasgid with some base64 encoded value. Decoding this value, you get 2008021857 . The █████ in question was my first █████ from February 2008. From testing several IDs, I determined the format is {year}{██████████ #} so 2008, ████████ # 021857. I simply incremented this value to 2008021858, base64 encoded this value, and browsed to https://███/portal/viewrfo.aspx?offasgid=MjAwODAyMTg1Ng== . Here, I was able to see ███████. I also tested the next value ( https://███/portal/viewrfo.aspx?offasgid=MjAwODAyMTg1NQ== ) and got █████. Finally, I opened a new private browser window (so no cookies) and browsed directly to that last link. I had to reauthenticate, but I then was able to directly assess ██████████. At this point, I stopped interacting with the website to submit this vulnerability.

NOTE: I did not save any record of these ███████s outside except the single attached screenshot. NOTE2: I tried a couple more values during this write-up to better understand the ID. I initially thought the 02 from 2008021858 was the month {year}{month}{id} but its just {year}{id}. I used 2018000001 and ended up with an ████████ from 20171001 (the very first day of the 2018 fiscal year). I also tested a couple IDs to see how far back the data goes. I used 1999000001 to pull an ██████ from 19980327. I believe this is the very first █████ in the system. I tried 1997000001 as well, and it simply returned a blank ████ (i.e. the ID does not exist).

Impact

In a relatively simple and predictable manner (due to the sequential IDs), any user with access to █████ can incrementally view every ███ issued by ████████ dating back to 1998. This data includes SSN last 4, EFMP information, branch, and assignment information. From this data, one can extract all sorts of information about the U.S. █████████ personnel including total ██████████ strength, ████ strength by branch, assignment history, strength by base, etc.

Step-by-step Reproduction Instructions

  1. Log into ██████████ (https://███.██████████.███████.mil/)
  2. Browse to any █████████ you want to view like https://████/portal/viewrfo.aspx?offasgid=MjAxOTAxMDg2NQ== if you want to view my most recent ███.
  3. Modify offasgid value as desired to view any other ███████ (they seem to be incrementing IDs by year)

Product, Version, and Configuration (If applicable)

Suggested Mitigation/Remediation Actions

First, the offasgid needs to be random and not a predictable value. Secondly, there needs to be some access check based on the provided cookie (user credentials) to ensure that user should be able to access that record.

Impact

In a relatively simple and predictable manner (due to the sequential IDs), any user with access to ████ can incrementally view every ███████ issued by ██████ dating back to 1998. This data includes SSN last 4, EFMP information, branch, and assignment information. From this data, one can extract all sorts of information about U.S. ████ personnel including total ███ strength, ████████ strength by branch, assignment history, strength by base, etc.

The original report as published on HackerOne, by archang31. 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 application used a predictable, sequential identifier in a URL parameter and performed no authorisation check to confirm the logged-in user was entitled to view that record.

Impact

Any authenticated user could enumerate and view every record in the system dating back to 1998, exposing partial Social Security numbers, assignment history and other personnel data.

What the attacker needed

A valid account on the portal; victim does not need to act

How it was found

  1. Log in to the portal.
  2. Open a record view link that contains the offasgid parameter.
  3. Decode the base64 value to see the underlying numeric identifier.
  4. Change the number to another value, re-encode it, and load the modified link.
  5. Repeat with further values to view additional records.

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.

When you log in to a website, the site should check that you are allowed to see each piece of data you ask for. Here, the site put a record number in the web address and never checked who owned that record. Because the numbers were simple and predictable, anyone with an account could change the number and read other people's private information.

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 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.