CyberSecBulletin

Improper Restriction of Excessive Authentication Attempts

CWE-307

The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.

We track 293 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.5.

How this weakness is prevented

  • Architecture and Design: Common protection mechanisms include: Disconnecting the user after a small number of failed attempts Implementing a timeout Locking out a targeted account Requiring a computational task on the user's part.
  • Architecture and Design: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator.

Latest Improper Restriction of Excessive Authentication Attempts vulnerabilities