December 2, 2026
P3 Missing Rate Limiting on Authentication-Related API Endpoints
Vulnerability Type: Insufficient Rate Limiting / Unrestricted Resource Consumption

By Akash motkar
2 min read
Vulnerability Type: Insufficient Rate Limiting / Unrestricted Resource Consumption
CWE:
- CWE-799 โ Improper Control of Interaction Frequency
- CWE-770 โ Allocation of Resources Without Limits or Throttling
- CWE-307 โ Improper Restriction of Excessive Authentication Attempts
OWASP: A04 โ Insecure Design
1. Description
The application's API endpoints do not appear to enforce adequate rate-limiting controls when processing repeated client requests.
During security testing, an attacker may be able to submit multiple consecutive requests to sensitive API functionality without encountering appropriate throttling mechanisms, temporary restrictions, or HTTP 429 (Too Many Requests) responses.
Depending on the affected functionality, this weakness could allow attackers to repeatedly interact with authentication-related endpoints, account recovery mechanisms, OTP verification functionality, or other resource-intensive API operations.
Insufficient request throttling may increase the risk of automated abuse, service resource exhaustion, and unauthorized account-related attacks.
Although the absence of rate limiting does not independently establish account compromise, it can significantly increase the feasibility of attacks when combined with weak authentication controls.
2. Affected Component
Component: Backend API Rate-Limiting Mechanism HTTP Method: GET / POST Affected Functionality: Authentication and account-related API operations Authentication Required: Depends on the affected endpoint Expected Protection: Per-IP, per-account, and endpoint-specific request throttling.
3. Steps to Reproduce
Prerequisites
- Burp Suite.
- Access to an authorized testing environment.
- An API endpoint that accepts repeated requests
- Permission to perform rate-limiting validation.
Step 1 Identify an API endpoint
Identify an authentication-related endpoint that accepts user-controlled input.
Example:
POST /api/v1/auth/forgot-password HTTP/1.1
Host: <application-host>
Content-Type: application/json
{
"email": "test@example.com"
}POST /api/v1/auth/forgot-password HTTP/1.1
Host: <application-host>
Content-Type: application/json
{
"email": "test@example.com"
}Step 2 Intercept the request
Capture the request using Burp Suite Proxy and send it to Repeater.
Step 3 Perform repeated requests
Submit multiple consecutive requests using the same test account and source IP address.
Observe whether the application enforces any request-frequency restrictions.
Step 4 Analyze server responses
Inspect the responses for the presence or absence of rate-limiting controls.
Expected security indicators include:
- HTTP 429 Too Many Requests.
- Retry-After response headers.
- Temporary request restrictions.
- Account-level throttling.
- CAPTCHA or additional verification challenges.
Step 5 Verify the behavior
Determine whether the application continues processing requests without applying appropriate restrictions.
Document the number of requests, testing duration, HTTP response codes, and any throttling behavior observed.
Avoid high-volume requests or testing against real users.
4. Security Impact
Automated Endpoint Abuse: Attackers may repeatedly interact with sensitive API functionality using automated scripts.
Account Enumeration: If the endpoint returns distinguishable responses for existing and non-existing accounts, unrestricted requests may facilitate account enumeration.
Password Reset Abuse: Repeated password recovery requests may generate excessive notifications or disrupt legitimate account recovery workflows.
OTP Verification Abuse: Where OTP verification endpoints lack attempt restrictions, attackers may gain additional opportunities to guess verification codes.
Resource Exhaustion: Repeated requests may consume backend processing resources and degrade application availability.
Increased Attack Feasibility: Missing throttling can make other attacks more practical when combined with weak authentication or validation mechanisms.
5. Root Cause Analysis
The likely root cause is insufficient implementation of request-frequency controls within the application's API infrastructure.
Potential contributing factors include:
- Absence of centralized API rate-limiting middleware.
- Lack of account-level request restrictions.
- Missing IP-based throttling.
- Insufficient protection for authentication-sensitive endpoints.
- Inadequate monitoring of abnormal request patterns.
6. Remediation
- Implement centralized rate limiting across sensitive API endpoints.
- Apply endpoint-specific request thresholds based on business functionality.
- Implement account-based and IP-based throttling.
- Introduce progressive delays after repeated authentication failures.
- Implement temporary restrictions for excessive OTP verification attempts.
- Return HTTP 429 responses when request thresholds are exceeded.
- Configure appropriate Retry-After headers.
- Monitor suspicious request patterns and automated abuse.
- Ensure rate-limiting controls cannot be trivially bypassed through common proxy headers.
- Regularly test rate-limiting mechanisms during security assessments.