No rate limiting on password reset page
The password-reset page on the account subdomain did not enforce rate limiting, so an attacker could send a large number of reset requests to the server. The report does not demonstrate any further consequence beyond the volume of requests.
- Triaged in 5 hours
- Fixed in 6 months
- Paid in 6 days
- Disclosed after 6 months
Summary by the program
Summary
https://account.mackeeper.com hasn't enforced rate limiting on the password-reset page. By this, an attacker can send huge amounts of requests to the server for changing the password.
Steps to Reproduce
- Go to the forgot password page and enter your email.
- Turn 'Intercept on' in Burp Suite and Click on 'Reset Password'.
- Now send that request to the intruder and add the point of attack anywhere you like
What the report shows
The target is the account service at account.mackeeper.com, specifically its password-reset page. The researcher, karna__, reported that the page does not enforce rate limiting, so an attacker can send large numbers of requests to the server for changing the password. The report was rated low severity under the Business Logic Errors weakness and paid a 50.00 USD bounty. It was disclosed on 15 May 2020.
The reproduction steps are short and describe a manual test with Burp Suite:
- Go to the forgot password page and enter your email.
- Turn 'Intercept on' in Burp Suite and Click on 'Reset Password'.
- Now send that request to the intruder and add the point of attack anywhere you like
The report does not include the captured request, the parameter names, the response codes or the number of requests that were sent. It also does not describe a fix or a retest, so the only outcome recorded is the severity and the bounty.
Root cause
The report points to a missing control: the password-reset endpoint accepts repeated requests from the same client without throttling. In the researcher's words, the page "hasn't enforced rate limiting", which lets an attacker "send huge amounts of requests to the server for changing the password". The report identifies only that the limit is absent, without describing how the handler works. The report does not identify which of these dimensions is missing, only that the limit is absent.
Impact
The report's own framing is volume: an attacker can push a very large number of reset requests at the server. It does not claim account takeover, token guessing or mailbox flooding as a demonstrated result, so the impact should be read at that level. The report does not describe any consequence beyond the volume of requests an attacker can send. The report was rated low severity.
How this kind of bug works
Rate limiting is a control on how often an action may be repeated in a window of time. Password reset is a sensitive action because each request typically triggers work on the server (a database lookup, token generation, an outbound email) and because the flow often exposes a value that an attacker would like to guess. Without a limit, the cost of each additional request to the attacker is close to zero, while the cost to the target is real.
The bug class appears when a handler is written to be correct for a single request but is never wrapped in a counter. Common reasons are that the limit lives only in the client-side JavaScript, that it is applied to the login form but not to the reset form, or that it keys on a value the attacker controls, such as a header or a cookie, which can simply be changed between requests. Defences that stop it are server-side counters keyed on the account and on the client address, a fixed or increasing delay after repeated attempts, temporary lockouts, and consistent limits across every endpoint in the authentication flow rather than only the most obvious one.
How to test for it
- Map the authentication surface: login, registration, password reset request, reset token submission, email verification resend, and any MFA code entry. These are the endpoints where a missing limit matters most.
- Capture one legitimate request for the endpoint you are testing, for example the reset request after entering your own address.
- Replay it many times in a row from the same session and watch the status codes, response bodies and timing. A positive result is a run of successful responses with no change in behaviour, no delay and no error once a threshold is passed.
- Repeat with small variations: a different value in the field under test, a new session, a changed client address header, and a fresh connection. This shows whether the limit exists but is keyed on something the attacker controls.
- Where the flow sends mail, use an address you own and count the messages that arrive. Where the flow returns a token, check whether repeated requests invalidate earlier tokens or leave several valid at once.
Common false positives are a limit that is present but set high enough that a short burst does not reach it, a limit enforced by a CDN or WAF in front of the application that a different path bypasses, and a client-side counter that makes the UI look protected while the server accepts everything. Confirm the result on the server side, not in the browser, and keep the number of requests modest so you do not disrupt the service.
How it is fixed
Apply server-side limits to every endpoint in the reset flow, keyed on the account being targeted and on the client, with a threshold and a window that suit the action. Add a delay or a temporary lockout after repeated attempts, and make the response identical whether or not the account exists so the limit does not become an enumeration oracle. Invalidate earlier reset tokens when a new one is issued, and cap the number of reset emails sent to a single address in a period. Log and alert on bursts so that abuse is visible even when the limit holds.
Hunting notes
This bug class hides in flows that are added late or maintained separately from the main login: password reset, email change, invitation resend, MFA verification and account deletion. Recon signals include a separate account subdomain, an authentication flow that spans more than one host, and endpoints that trigger email or SMS, since those are the ones where volume has a cost.
What happened, in plain words
Clario runs an account service at account.mackeeper.com. That service includes a password-reset page: the page you use when you have forgotten your password and want the site to email you a way to set a new one. The researcher, karna__, reported that this page does not enforce rate limiting. Rate limiting is a cap on how often the same action can be repeated in a period of time. Think of it like a shop assistant who will only hand you three forms per hour; without that rule, you can ask for a new form as many times as you like.
Because there is no such cap, an attacker can send huge amounts of requests to the server for changing the password. A request is simply a message your browser sends to a server asking it to do something, such as "please start a password reset for this email address". The report was rated low severity, filed under the weakness class Business Logic Errors (flaws in how a feature is designed to behave, rather than in the code that parses input), and paid a 50.00 USD bounty. It was disclosed on 15 May 2020.
The reproduction steps are short and describe a manual test with Burp Suite, a tool that sits between your browser and the server so you can see and replay the messages your browser sends:
- Go to the forgot password page and enter your email.
- Turn 'Intercept on' in Burp Suite and Click on 'Reset Password'.
- Now send that request to the intruder and add the point of attack anywhere you like
The report does not include the captured request, the parameter names, the response codes or the number of requests that were sent. It also does not describe a fix or a retest, so the only outcome recorded is the severity and the bounty.
In general, how this kind of bug works
A password reset is a sensitive action because each request typically makes the server do real work: look up the account, generate a token (a long random value that proves you are allowed to set a new password), and send an email. Without a limit, the cost of each extra request to the attacker is close to zero, while the cost to the target is real.
The bug appears when a handler is written to be correct for a single request but is never wrapped in a counter. Common reasons are that the limit lives only in the browser's JavaScript, that it is applied to the login form but not the reset form, or that it keys on a value the attacker controls, such as a header or a cookie, which can simply be changed between requests.
Defences that stop it are server-side counters keyed on the account and on the client address, a fixed or increasing delay after repeated attempts, temporary lockouts, and consistent limits across every endpoint in the authentication flow rather than only the most obvious one.
How to test for it
- Map the authentication surface: login, registration, password reset request, reset token submission, email verification resend, and any MFA code entry. These are the endpoints where a missing limit matters most.
- Capture one legitimate request for the endpoint you are testing, for example the reset request after entering your own address.
- Replay it many times in a row from the same session and watch the status codes, response bodies and timing. A positive result is a run of successful responses with no change in behaviour, no delay and no error once a threshold is passed.
- Repeat with small variations: a different value in the field under test, a new session, a changed client address header, and a fresh connection. This shows whether the limit exists but is keyed on something the attacker controls.
- Where the flow sends mail, use an address you own and count the messages that arrive. Where the flow returns a token, check whether repeated requests invalidate earlier tokens or leave several valid at once.
Common false positives are a limit that is present but set high enough that a short burst does not reach it, a limit enforced by a CDN or WAF in front of the application that a different path bypasses, and a client-side counter that makes the UI look protected while the server accepts everything. Confirm the result on the server side, not in the browser, and keep the number of requests modest so you do not disrupt the service.
How it is fixed
Apply server-side limits to every endpoint in the reset flow, keyed on the account being targeted and on the client, with a threshold and a window that suit the action. Add a delay or a temporary lockout after repeated attempts, and make the response identical whether or not the account exists so the limit does not become an enumeration oracle (a way to learn which email addresses have accounts). Invalidate earlier reset tokens when a new one is issued, and cap the number of reset emails sent to a single address in a period. Log and alert on bursts so that abuse is visible even when the limit holds.
Hunting notes
This bug class hides in flows that are added late or maintained separately from the main login: password reset, email change, invitation resend, MFA verification and account deletion. Recon signals include a separate account subdomain, an authentication flow that spans more than one host, and endpoints that trigger email or SMS, since those are the ones where volume has a cost.
Glossary
- Rate limiting: a cap on how many times an action may be repeated within a period of time.
- Request: a message a browser or tool sends to a server asking it to perform an action.
- Response: the server's reply to a request, including a status code and often a body.
- Endpoint: a specific address on a server that handles one kind of action, such as the password-reset request.
- Password reset: the feature that lets a user who has forgotten their password ask the site to send them a way to set a new one.
- Token: a long random value issued by the server that proves the holder is allowed to perform an action, such as setting a new password.
- Cookie: a small piece of data a site stores in your browser and sends back with each request, often used to identify your session.
- Session: the server's record of your logged-in state, usually tied to a cookie.
- Header: an extra field in a request or response carrying metadata, such as the client's address or the content type.
- Parameter: a named value sent with a request, such as the email address in a reset form.
- Burp Suite: a tool that sits between browser and server so you can inspect, pause and replay requests.
- Intercept: a Burp mode that pauses a request before it reaches the server so you can read or edit it.
- Intruder: a Burp component that resends a captured request many times, optionally changing one part each time.
- Business Logic Errors: flaws in how a feature is designed to behave, rather than in how it parses input.
- Severity: a rating of how much harm a bug could cause, here low.
- Bounty: a payment a program makes to a researcher for a valid report.
- CDN: a network of servers in front of a site that can cache content and filter traffic.
- WAF: a web application firewall, a filter in front of a site that blocks traffic matching attack patterns.
- Enumeration oracle: a behaviour that lets an attacker learn which accounts exist, for example by differing responses.
- MFA: multi-factor authentication, a second proof of identity such as a code from an app.
- False positive: a finding that looks like a bug but is not, because a control exists elsewhere.