Improper Authentication Allows Making Requests as Other Users
The application relied on client-side handling of a 302 redirect to block unauthenticated access to a request-creation page. By intercepting the response and changing the 302 to a 200, an unauthenticated attacker could fill in and submit a request using another user's email address.
- Triaged in 1 hour
- Fixed in 4 months
- Disclosed after 17 months
This vulnerability allows unauthenticated users to submit different types of requests as another user 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,
With this requirement in mind, I captured a request to the following URLs:
GET /App/createrequest.aspx
I then forwarded the request and intercepted the server's response. After intercepting the response, I changed the 302 to a 200 response and forwarded the modified request to my browser. From this point, I filled in the required fields, intercepting and modifying the response for several of the dropdown selections as well in order to proceed. For the email field, I was able to input the email address of another application user.
Note: An unauthenticated user can validate emails using the following URL: /████████ After supplying an email and filling in the required fields, I submitted the request. As a result, an email was sent to the victim's email address verifying successful submission.
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)
██████████
Affected Product(s) and Version(s)
PAL V:?
CVE Numbers
Steps to Reproduce
Please see the attached video on reproducing the bug.
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 did not enforce authentication on the request-creation endpoint and instead relied on the browser following a redirect to the login page.
Impact
An unauthenticated attacker could submit requests as other users, affecting the integrity of the system and the confidentiality of user information.
What the attacker needed
No account needed; ability to intercept and modify HTTP responses; victim's email address known
The fix
The application should enforce authentication checks on the server for all sensitive endpoints and not rely on client-side handling of HTTP status codes.
How it was found
- Capture a request to the request-creation page.
- Intercept the server's response and change the 302 status to 200.
- Forward the modified response to the browser so the form loads.
- Fill in the required fields, modifying responses for dropdown selections as needed.
- Enter another application user's email address in the email field.
- Submit the request, which sends a verification email to the victim.
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 visit a page without logging in, the server often sends a redirect (a 302 response) to the login page. This report shows that the site only checked for that redirect in the browser, so a person could intercept the response and change it to a normal success (200) response. That let them open a form meant for logged-in users and submit it using someone else's email address.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.