Skip to content
Account takeover Disclosed report Beginner

No Rate Limiting on Password Attempts After Insecure Registration Flow cause ATO

The login endpoint did not rate-limit password attempts, so an attacker could try many passwords in a row without lockout or CAPTCHA. A successful guess could be detected by the presence of a session cookie, enabling account takeover.

azar_bb Follow

Originally disclosed on HackerOne

  • Triaged in 7 days
  • Fixed in 58 days
  • Disclosed after 9 months

Summary by the program

A security researcher identified an authentication vulnerability lacking rate limiting controls on password attempts. The flaw allowed unlimited brute force attacks against user accounts without triggering security measures like account lockouts or CAPTCHA challenges. Attackers could perform 100+ consecutive password attempts and distinguish successful authentications through session cookie presence in responses. This CWE-307 vulnerability enabled automated credential validation attacks, posing severe account takeover risks across our platform. Our development team successfully remediated the issue by implementing proper rate limiting mechanisms and security controls. We appreciate the researcher's comprehensive documentation and submission.

The original report as published on HackerOne, by azar_bb. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 5 min read.

What the report shows

The target is spsah2.securevetsource.com, and the affected feature is the login flow. The researcher found that password attempts were not rate limited. According to the program's summary, an attacker could make more than 100 consecutive password attempts against an account without triggering any security measure such as an account lockout or a CAPTCHA challenge.

The second half of the finding is how success could be told apart. The program states that a successful authentication could be distinguished by the presence of a session cookie in the response. That turns a blind guessing loop into a reliable oracle: the attacker does not need to inspect page content or error wording, only whether the response sets a session cookie.

The program classifies the issue as CWE-307, Improper Restriction of Authentication Attempts, and rates it medium severity. The title links the missing rate limiting to an insecure registration flow and describes the combined result as account takeover. The summary credits the researcher with documenting the issue comprehensively and states that the development team remediated it by implementing rate limiting mechanisms and security controls. No bounty amount is given.

The report does not include the individual HTTP requests, payloads or tooling used, so there is nothing to reproduce verbatim here. What it does give is the observable behaviour: unlimited attempts, no lockout, no challenge, and a cookie-based success signal.

Root cause

The likely root cause is that the authentication endpoint applies no rate limiting to failed password attempts. Each request is evaluated on its own, so the server has no state that would let it slow down, block or challenge a client after repeated failures. The absence of a CAPTCHA or lockout after more than 100 attempts indicates that no such control was triggered.

The title also points at the registration flow, but the report does not describe how it relates to the missing rate limiting. Without a reliable way to know which usernames exist, guessing passwords is far less productive.

Impact

Within the report's own framing, the impact is account takeover. An attacker who can send unlimited password guesses, and who can tell a hit from a miss by the session cookie, can run automated credential validation against user accounts. The program describes this as posing severe account takeover risks across the platform.

The practical ceiling depends on password strength and on whether usernames can be discovered, neither of which the report quantifies. The report does not claim that any account was actually taken over, only that the conditions allowed it.

How this kind of bug works

Authentication endpoints are stateful by nature: the server compares a submitted secret against a stored one. Rate limiting is a separate control layered on top, and it is easy to leave out because the login logic works correctly without it. A single wrong password produces a correct rejection, and nothing in that code path forces the developer to think about the thousandth attempt.

Brute force succeeds when three things line up: the attacker can reach the endpoint repeatedly, the space of plausible secrets is small enough to enumerate (weak or reused passwords, short PINs, predictable reset codes), and the response tells the attacker whether a guess was right. The third condition is the one researchers often overlook. Even with rate limiting, a response that differs measurably between valid and invalid input, in status code, body length, timing or a cookie, gives an attacker a signal to work with.

Defences work at several layers. Per-account counters with exponential backoff or temporary lockout raise the cost of guessing a single account. Per-IP and per-device limits slow distributed attempts, though they are weaker against rotating sources. CAPTCHA or proof-of-work challenges after a few failures block automation. Credential stuffing is best addressed by checking submitted passwords against breach corpora and by requiring multi-factor authentication. Finally, responses should be uniform: the same status, the same body shape and no session cookie unless authentication genuinely succeeded.

How to test for it

  1. Identify the authentication endpoints: login, password reset, one-time code verification, PIN entry, and any API variant of the same logic.
  2. Establish a baseline. Send a handful of requests with a known-invalid password and record status code, body length, headers and any cookies set.
  3. Send a known-valid credential pair once and record the same fields, so you know exactly what success looks like.
  4. Send a sustained series of invalid attempts against one account, well past any plausible threshold (tens, then hundreds), and watch for lockout messages, challenge pages, delays or connection resets.
  5. Repeat with a valid password at the end of the series to confirm the account is still reachable and that success is still distinguishable.
  6. Vary the source where you are authorised to do so, to see whether limits are per-account, per-IP or absent entirely.

A positive result is a long run of failures with no change in behaviour, followed by a successful login that is clearly identifiable. Common false positives: a generic error page that hides a lockout happening server-side, a WAF silently dropping requests (check for timeouts and resets rather than assuming the app answered), limits that only apply to one endpoint while a sibling endpoint is unprotected, and client-side throttling in JavaScript that a direct request bypasses. Also confirm that the account you are testing is one you are authorised to use; testing against real users' accounts is out of scope on most programs.

How it is fixed

The standard fix is server-side rate limiting on every authentication path, keyed by account and by source, with a lockout or backoff after a small number of failures. Add a challenge such as CAPTCHA once the threshold is crossed, and make sure the same controls cover API endpoints, mobile clients and password reset flows, not just the web form. Return uniform responses so that success and failure cannot be told apart by anything other than the intended result, and avoid setting session cookies on failed attempts. Log and alert on repeated failures so that attacks are visible.

Hunting notes

This bug class hides wherever authentication is implemented more than once: legacy login pages, JSON APIs behind the same accounts, mobile app endpoints, single sign-on callbacks, and password or code reset flows. Registration and invitation flows are worth mapping because they determine how easily an attacker learns valid usernames.

Recon signals include multiple login endpoints on subdomains of the same organisation, API documentation exposing an authentication route, and JavaScript that reveals client-side attempt counters (a hint that the server may not enforce them). When you report, show the sustained attempt series, the absence of any lockout or challenge, and a clear demonstration that success is distinguishable, ideally with a successful login on an account you control. Keep the volume modest and within the program's rules, and state plainly what an attacker could do with the behaviour you observed.

Difficulty: beginner. The testing method is simple request repetition and response comparison, requiring no special tooling beyond a proxy.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 8 min read.

What happened, in plain words

This report is about a login page that let someone try passwords over and over without ever being stopped. The site in question is spsah2.securevetsource.com, and the feature involved is the ordinary login flow, the form where a user types a username and a password to get into their account.

A login page is a bit like a door with a lock. Normally, if you get the key wrong a few times, something happens: the lock jams for a while, or a guard asks you to prove you are a person. Here, nothing happened. According to the program's summary, an attacker could make more than 100 consecutive password attempts against an account without triggering any security measure such as an account lockout or a CAPTCHA challenge.

Two ideas need explaining before the rest makes sense.

  • Rate limiting is a rule that says "only so many tries in a given time". Think of a phone that lets you redial a number three times and then makes you wait. Without it, a computer can try thousands of passwords per minute.
  • A CAPTCHA is the little puzzle that asks you to tick a box or pick out traffic lights. Its job is to prove a human is on the other end, because automated programs struggle with it.

Neither of those was in place. So a program, not a person, could sit there guessing.

The second half of the finding is about how the attacker knew when a guess was right. When you log in successfully, the server usually hands your browser a session cookie, a small piece of data that says "this person is now logged in". The program states that a successful authentication could be distinguished by the presence of a session cookie in the response. That matters because it turns blind guessing into a reliable signal: the attacker does not need to read the page text or compare error messages, only to check whether the reply contains a session cookie. A response here simply means the reply the server sends back after a request, the message your browser sends when you submit the form.

The program classifies the issue as CWE-307, Improper Restriction of Authentication Attempts, and rates it medium severity. CWE-307 is just the catalogue name for "the login does not limit how many attempts are allowed". The title links the missing rate limiting to an insecure registration flow and describes the combined result as account takeover. Account takeover means someone else gets into your account and can act as you. The summary credits the researcher with documenting the issue comprehensively and states that the development team remediated it by implementing rate limiting mechanisms and security controls. No bounty amount is given.

The report does not include the individual HTTP requests, payloads or tooling used, so there is nothing to reproduce verbatim here. What it does give is the observable behaviour: unlimited attempts, no lockout, no challenge, and a cookie-based success signal.

Root cause

The likely root cause is that the authentication endpoint applies no rate limiting to failed password attempts. Each request is evaluated on its own, so the server has no state that would let it slow down, block or challenge a client after repeated failures. The absence of a CAPTCHA or lockout after more than 100 attempts indicates that no such control was triggered.

The title also points at the registration flow, the process of creating a new account, but the report does not describe how it relates to the missing rate limiting. Enumerating accounts means working out which usernames actually exist. Without a reliable way to know which usernames exist, guessing passwords is far less productive.

Impact

Within the report's own framing, the impact is account takeover. An attacker who can send unlimited password guesses, and who can tell a hit from a miss by the session cookie, can run automated credential validation against user accounts. The program describes this as posing severe account takeover risks across the platform.

The practical ceiling depends on password strength and on whether usernames can be discovered, neither of which the report quantifies. The report does not claim that any account was actually taken over, only that the conditions allowed it.

In general, how this kind of bug works

Authentication endpoints are stateful by nature: the server compares a submitted secret against a stored one. Rate limiting is a separate control layered on top, and it is easy to leave out because the login logic works correctly without it. A single wrong password produces a correct rejection, and nothing in that code path forces the developer to think about the thousandth attempt.

Brute force succeeds when three things line up: the attacker can reach the endpoint repeatedly, the space of plausible secrets is small enough to enumerate (weak or reused passwords, short PINs, predictable reset codes), and the response tells the attacker whether a guess was right. The third condition is the one researchers often overlook. Even with rate limiting, a response that differs measurably between valid and invalid input, in status code, body length, timing or a cookie, gives an attacker a signal to work with.

Defences work at several layers. Per-account counters with exponential backoff or temporary lockout raise the cost of guessing a single account. Per-IP and per-device limits slow distributed attempts, though they are weaker against rotating sources. CAPTCHA or proof-of-work challenges after a few failures block automation. Credential stuffing is best addressed by checking submitted passwords against breach corpora and by requiring multi-factor authentication. Finally, responses should be uniform: the same status, the same body shape and no session cookie unless authentication genuinely succeeded.

In general, how to test for it

  1. Identify the authentication endpoints: login, password reset, one-time code verification, PIN entry, and any API variant of the same logic.
  2. Establish a baseline. Send a handful of requests with a known-invalid password and record status code, body length, headers and any cookies set.
  3. Send a known-valid credential pair once and record the same fields, so you know exactly what success looks like.
  4. Send a sustained series of invalid attempts against one account, well past any plausible threshold (tens, then hundreds), and watch for lockout messages, challenge pages, delays or connection resets.
  5. Repeat with a valid password at the end of the series to confirm the account is still reachable and that success is still distinguishable.
  6. Vary the source where you are authorised to do so, to see whether limits are per-account, per-IP or absent entirely.

A positive result is a long run of failures with no change in behaviour, followed by a successful login that is clearly identifiable. Common false positives: a generic error page that hides a lockout happening server-side, a WAF silently dropping requests (check for timeouts and resets rather than assuming the app answered), limits that only apply to one endpoint while a sibling endpoint is unprotected, and client-side throttling in JavaScript that a direct request bypasses. Also confirm that the account you are testing is one you are authorised to use; testing against real users' accounts is out of scope on most programs.

In general, how it is fixed

The standard fix is server-side rate limiting on every authentication path, keyed by account and by source, with a lockout or backoff after a small number of failures. Add a challenge such as CAPTCHA once the threshold is crossed, and make sure the same controls cover API endpoints, mobile clients and password reset flows, not just the web form. Return uniform responses so that success and failure cannot be told apart by anything other than the intended result, and avoid setting session cookies on failed attempts. Log and alert on repeated failures so that attacks are visible.

In general, where to look

This bug class hides wherever authentication is implemented more than once: legacy login pages, JSON APIs behind the same accounts, mobile app endpoints, single sign-on callbacks, and password or code reset flows. Registration and invitation flows are worth mapping because they determine how easily an attacker learns valid usernames.

Recon signals include multiple login endpoints on subdomains of the same organisation, API documentation exposing an authentication route, and JavaScript that reveals client-side attempt counters (a hint that the server may not enforce them). When you report, show the sustained attempt series, the absence of any lockout or challenge, and a clear demonstration that success is distinguishable, ideally with a successful login on an account you control. Keep the volume modest and within the program's rules, and state plainly what an attacker could do with the behaviour you observed.

Difficulty: beginner. The testing method is simple request repetition and response comparison, requiring no special tooling beyond a proxy.

Glossary

  • Rate limiting: a rule that caps how many attempts or requests are allowed in a period of time.
  • CAPTCHA: a small puzzle used to prove a human, not a program, is making the request.
  • Account lockout: temporarily blocking an account after too many failed login attempts.
  • Session cookie: a small piece of data the server gives the browser after a successful login, used to recognise the logged-in user.
  • Request: the message a browser or tool sends to a server, for example when submitting a login form.
  • Response: the server's reply to a request, including a status code, headers and a body.
  • Authentication: the process of proving who you are, usually with a username and password.
  • Endpoint: a specific address on a server that handles a particular action, such as login.
  • Brute force: trying many possible passwords automatically until one works.
  • Credential validation: checking whether a username and password pair is correct.
  • Credential stuffing: trying username and password pairs stolen from one breach against another service.
  • Account takeover: an attacker gaining control of someone else's account.
  • Enumeration: working out which usernames or accounts exist on a system.
  • CWE-307: the catalogue entry for improper restriction of authentication attempts, meaning login attempts are not limited.
  • Severity: a rating of how serious a vulnerability is; here, medium.
  • WAF: a web application firewall, a filter that can block suspicious traffic before it reaches the app.
  • Proxy: a tool that sits between your browser and the server so you can inspect and repeat requests.
  • Multi-factor authentication: requiring a second proof of identity, such as a code from a phone, in addition to a password.
  • Proof-of-work: a small computational task a client must complete, used to slow down automation.
  • Exponential backoff: increasing the waiting time after each failure, so repeated attempts get progressively slower.

More from Mars

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.