Rate Limit Bypass Using Response Manipulation.
The trade file download feature enforced a rate limit by returning a 429 status code, but the client-side application trusted this response. An attacker could intercept the 429 response, change it to 200 OK, and continue downloading the file, bypassing the limit.
medium.com
Published on medium.com
Rate limiting is a security mechanism that controls the number of requests a user can make to a web application within a specified timeframe. It helps prevent abuse, such as API misuse or excessive data downloads.
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
Impact
An attacker could bypass the download limit and repeatedly download trade data, potentially leading to excessive data download or API misuse.
What the attacker needed
A user account on the platform; ability to intercept HTTP traffic (e.g., Burp Suite)
How it was found
- Download the trade file repeatedly until the platform shows 'You have exceeded the limit.'
- Open Burp Suite and enable interception.
- Initiate another download request to trigger the blocked response.
- Intercept the download request in Burp Suite.
- Switch to the 'Response' tab to view the intercepted server response.
- Change the HTTP response status code from 429 to 200 and forward it.
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 rate limit is a rule that stops you from doing something too many times, like downloading a file repeatedly. Here, the server sent a 'too many requests' message, but the app only looked at that message and didn't actually stop the download on the server side. By changing the message to 'OK', the attacker tricked the app into allowing more downloads.
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.