$1,000 Bounty for Bypassing Restrictions via Modified HTTP Reques
The site's login and registration endpoints were disabled after a previous brute-force report, but the restriction was only enforced on the client side. By changing the request method from OPTIONS to POST and adding a JSON body, the attacker could still submit credentials and brute-force the login.
Published on xcryptographer.medium.com
here i want to publish one of my recent finding which helped me to earned $1,000 bounty
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server-side login handler was still active and only the client-side form was disabled, so changing the HTTP method and body format bypassed the restriction.
What the attacker needed
Valid old credentials to confirm; ability to intercept and modify HTTP requests
How it was found
- Observe that the login form returns an error even with valid credentials after the endpoints were disabled.
- Capture the request in Burp and note it is sent as an OPTIONS request.
- Send the request to Repeater and change the method from OPTIONS to POST.
- Add a Content-Type: application/json header and a JSON body containing username and password.
- Send the request and observe that the login is processed despite the restriction.
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 write-up has not been written yet. The Original tab links to the source.
A website had turned off its login and sign-up pages to stop people guessing passwords. But the server itself was still accepting login attempts if you sent the request in a slightly different way. The researcher changed the request type and added the username and password in a JSON body, and the server processed it anyway.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.