Bypass password reset rate limit protection at moneybird.com/passwords
The password reset endpoint's rate limiting could be bypassed by sending a different X-Forwarded-For header value with each request, so the server never returned a 429. An attacker could then brute force, flood emails, or cause denial of service.
Originally disclosed on HackerOne
- Triaged in 31 hours
- Fixed in 25 days
- Paid in 25 days
- Disclosed after 55 days
Summary by the program
Attacker found a way to completely bypass our rate limit protection, allowing for other types of attacks. This involved changing the value of the X-Forwarded-For header. Attacker never got a 429 response from our servers when the value for each request is different.
Summary by the researcher
Injecting X-Forwarded-For : Header with random values leads to bypass rate limit protection 429 on the web application endpoints causing several attacks like brute force , email leakage , dos , email flooding ..etc
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 rate limiter keyed on the client-supplied X-Forwarded-For header instead of a trusted source such as the connection's real address.
Impact
The bypass could enable brute force, email leakage, denial of service and email flooding against the application.
What the attacker needed
Ability to set request headers; password reset endpoint reachable
The fix
The rate limiter should identify clients from a trusted source rather than a client-controlled header.
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.
A rate limit is a cap on how many requests you can make in a period, meant to stop guessing or spamming. The site trusted a header called X-Forwarded-For, which a client can set to any value, to identify who was making requests. By changing that value every time, the attacker looked like a new visitor on each request, so the cap never applied.
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.