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.
- 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.
- Capture a GET request to endpoint "/App/createappeal.aspx"
- Forwarded the request and intercept the server's response.
- After intercepting the response, change the 302 to a 200 response and forward the modified request to the browser.
- 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.
- 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.
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
- Capture a GET request to the appeal creation endpoint.
- Forward the request and intercept the server's response.
- Change the 302 redirect response to a 200 success response and forward it to the browser.
- Fill in the required fields, also intercepting and modifying responses for dropdown selections to proceed.
- 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.