Skip to content
IDOR Disclosed report Beginner

Insecure Direct Object Reference on in-scope .mil website

A web form for looking up or cancelling appointments lacked rate limiting on the confirmation number field, allowing an attacker to brute-force valid numbers. This could let them cancel other users' appointments and potentially obtain personal information.

gamliel Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 4 months
  • Disclosed after 2.5 years

Summary by the researcher

A web form on a DoD website doesn't implemented restriction against multiple failed attempts to get an ID in order to obtain personal users information or cancel an ongoing process/appointment. An automated attack allowed to obtain some personal information. After the fix the attempts to brute force or dictionary attack have been thwarted.

The report

Summary: A web form in a .mil website doesn't implement restriction against multiple failed attempts to place an ID in order to obtain users information or cancel an ongoing process. Description: Websites https://█████████/appointment/lookup.aspx?a=f and https://██████████/appointment/lookup.aspx?a=c are sites where users could find or cancel respectively an appointment made previously. If an attacker (or skript-kiddie) wants to cancel an appointment from legit users, he/she just need to pick a random last name and then launch a dictionary or brute force attack against the "Confirmation Number" form field. If the attacker has success in his journey could cancel appointments and even wrong could obtain some personal information about users.

Impact

High

Step-by-step Reproduction Instructions

  1. Configure a web proxy capable of intercept HTTPS requests (like Burp Suite)
  2. Configure a web browser to use the parameters of the proxy set in the previous step
  3. Visit the website site https://█████████/appointment/lookup.aspx?a=f
  4. Type a random last name (I used Smith) and type a random number in the other field
  5. Click on the Next>> button and intercept that request.
  6. Make a right click in the proxy software and chose "Send to Intruder"
  7. Since Burp Intruder uses a Request made previously to the website, then it uses the current information like Referer header, Cookie, VIEW_STATE, Last Name, now you just have to go to Positions tab and click on clear button (to clear selected fields that Intruder recognized automatically) and make a double click on the value of the TbPin parameter, next click on the Add button in order to set that field as the target ███████
  8. Now go to Payloads tab, down to Payload Options [Simple list] and set a wordlist having 8 long hex characters and launch the test clicking on the Start Attack button located at right top corner.
  9. A new window instance of Burp Intruder will open and you'll see the attacker software is making requests and there's no interruption in its task due to prevention measures against brute force attacks. █████████

Note: For my tests I created previously some two Appointment Numbers (30AC5814 and 9D1D10C7) and I have added them to the wordlist, thus I don't gotten any user legit information. ███████

Product, Version, and Configuration (If applicable)

/*****/

Suggested Mitigation/Remediation Actions

Despite the Appointment Number is 8 characters long, 0 to 9 and A to F (hex characters), now a day with cloud computer information processing capabilities it could be guessed in minutes. You should implement some restriction process against failed attempts, like:

  1. Set a captcha system after 3 or 5 failed attempts
  2. Set the same Length in the response pages either the requested Appointment Number is right or not (As suggestion, you can put blank spaces in the body of fail attempt in order to be the same with a right attempt) ███████

PS. Since this attack could leak some personal information like Name, Telephone number and E-mail apart of delaying a process (canceling an appointment), I hope you should be consider it as High impact. Thanks!

The original report as published on HackerOne, by gamliel. 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 did not enforce rate limiting or other anti-automation controls on the confirmation number field, allowing unlimited brute-force attempts.

Impact

An attacker could cancel appointments and potentially obtain personal information such as name, telephone number, and email, as the report states.

What the attacker needed

Access to the public web form; knowledge of a last name; automated tool for brute force

The fix

The report suggests implementing a CAPTCHA after a few failed attempts and making response pages the same length regardless of success, but it does not state that a fix was applied.

How it was found

  1. Configure a web proxy to intercept HTTPS requests.
  2. Set the browser to use the proxy.
  3. Visit the appointment lookup page.
  4. Enter a random last name and a random confirmation number, then submit and intercept the request.
  5. Send the request to an automated attack tool and set the confirmation number field as the target.
  6. Use a wordlist of 8-character hexadecimal values and launch the attack.

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 lets people find or cancel an appointment by entering a last name and a confirmation number. The site did not limit how many times someone could guess the confirmation number, so a computer could try many combinations quickly. This could let an attacker cancel other people's appointments or see their personal details.

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 gamliel

View all

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