Back to Findings

Missing Rate Limiting on Login Endpoint

HighResolvedCVSS 3.1: 7.3CWE-307
TWP-005Tamkeen Web Portal9 months ago
Description

The login endpoint does not implement rate limiting, allowing unlimited authentication attempts. This enables brute-force and credential-stuffing attacks against user accounts.

Proof of Concept
Using Burp Intruder, sent 10,000 login attempts within 60 seconds. No blocking or throttling was applied.
Remediation

Implement rate limiting (e.g., 5 failed attempts per 15 minutes). Add CAPTCHA after 3 failed attempts. Consider account lockout after 10 consecutive failures.

Details
Affected Assethttps://app.tamkeen.sa/api/auth/login
CVSS Score7.3
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWECWE-307