Skip to content
Access control Disclosed report Beginner

Improper Authentication Allows Making Appeals as Other Users

The application relied on client-side HTTP status codes to enforce authentication, so an unauthenticated user could change a redirect response to a success response and submit appeals as another user. This allowed unauthorised submissions and email spoofing.

tacnull Follow

Originally disclosed on HackerOne

  • Triaged in 10 hours
  • Fixed in 4 months
  • Disclosed after 6 months

Note: I am submitting reports for each affected endpoint as requested by the program.

This vulnerability allows unauthenticated users to submit appeals by manipulating HTTP responses. By changing server responses from a redirect (302) to a successful response (200), attackers can bypass the application's authentication requirements and perform actions reserved for logged-in users. This can lead to unauthorized submissions, email spoofing, and potential exploitation of the application's workflow. The flaw undermines both the security and integrity of the application, posing significant risks to user data and trust.

Impact

Submit requests as other users of the application, impacting the integrity of the system and the confidentiality of information on its users.

System Host(s)

██████████.mil

Affected Product(s) and Version(s)

PAL V: ?

CVE Numbers

Steps to Reproduce

Note: I included a video for another URL and endpoint, but the steps to reproduce are the same. Only changes will be the URL and endpoint.

  1. Capture a GET request to endpoint "/App/createappeal.aspx"
  2. Forwarded the request and intercept the server's response.
  3. After intercepting the response, change the 302 to a 200 response and forward the modified request to the browser.
  4. From this point, fill in the required fields, intercepting and modifying the response for several of the dropdown selections as well in order to be able to proceed.
  5. For the email field, we are able to input the email address of another application user.

Note: An unauthenticated user can validate emails using the following URL:

/app/[email protected]

After supplying an email and filling in the required fields, submit the request. As a result, an email will be sent to the victim's email address verifying successful submission.

Suggested Mitigation/Remediation Actions

To remediate this vulnerability, the application should enforce strict authentication checks on all requests to sensitive endpoints, ensuring that only authenticated users can access them. Additionally, responses should be validated on the server side to prevent unauthorized manipulation of HTTP status codes. Implementing these measures will ensure that only legitimate, authenticated users can perform actions like submitting requests.

The original report as published on HackerOne, by tacnull. 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 server performed authentication checks only by issuing a redirect and did not verify authentication again when the form was submitted.

Impact

An unauthenticated attacker could submit appeals as other users, affecting system integrity and user confidentiality.

What the attacker needed

An intercepting proxy; no account needed

How it was found

  1. Capture a GET request to the appeal creation endpoint.
  2. Forward the request and intercept the server's response.
  3. Change the 302 redirect response to a 200 success response and forward it to the browser.
  4. Fill in the required fields, also intercepting and modifying responses for dropdown selections to proceed.
  5. Enter another application user's email address in the email field and submit the request.

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 server sent a redirect (302) to unauthenticated users, but an intercepting proxy could rewrite it to a success response (200) so the protected page loaded and the form could be submitted.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by tacnull

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.