Katalog CWE

CWE-307 · Słabość

Improper Restriction of Excessive Authentication Attempts

Abstrakcja
Bazowa
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
11 grudnia 2025

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

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

Skutki

  • Access Control

    Bypass Protection Mechanism

    An attacker could perform an arbitrary number of authentication attempts using different passwords, and eventually gain access to the targeted account using a brute force attack.

Zapobieganie

  • 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 · Libraries or Frameworks

    Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].

    Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. OWASP Enterprise Security API (ESAPI) Project — OWASP
  2. Weak Password Brings 'Happiness' to Twitter Hacker — Kim Zetter, 2009
  3. This Black Box Can Brute Force Crack iPhone PIN Passcodes — Graham Cluley, The Mac Security Blog, 2015

Wpis z katalogu CWE 4.20.