CWEweakness

CWE-307 Improper Restriction of Excessive Authentication Attempts

Official page ↗
Abstraction
Base
Structure
Simple
Status
Draft
Languages
Go, Not Language-Specific
CWE version
5.0

Description

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

Common consequences

• 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.

Potential mitigations

• [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 [REF-1482]. Consider using libraries with authentication capabilities such as OpenSSL or the ESAPI Authenticator. [REF-45]

Detection methods

• Dynamic Analysis with Automated Results Interpretation: According to SOAR [REF-1479], the following detection techniques may be useful: Highly cost effective: • Web Application Scanner • Web Services Scanner • Database Scanners Cost effective for partial coverage: • Host-based Vulnerability Scanners - Examine configuration for flaws, verifying that audit mechanisms work, ensure host configuration meets certain predefined criteria • Dynamic Analysis with Manual Results Interpretation: According to SOAR [REF-1479], the following detection techniques may be useful: Highly cost effective: • Fuzz Tester • Framework-based Fuzzer Cost effective for partial coverage: • Forced Path Execution • Manual Static Analysis - Source Code: According to SOAR [REF-1479], the following detection techniques may be useful: Highly cost effective: • Focused Manual Spotcheck - Focused manual analysis of source • Manual Source Code Review (not inspections) • Automated Static Analysis - Source Code: According to SOAR [REF-1479], the following detection techniques may be useful: Cost effective for partial coverage: • Source code Weakness Analyzer • Context-configured Source Code Weakness Analyzer • Automated Static Analysis: According to SOAR [REF-1479], the following detection techniques may be useful: Cost effective for partial coverage: • Configuration Checker • Architecture or Design Review: According to SOAR [REF-1479], the following detection techniques may be useful: Highly cost effective: • Formal Methods / Correct-By-Construction Cost effective for partial coverage: • Inspection (IEEE 1028 standard) (can apply to requirements, design, source code, etc.)

Observed examples

• CVE-2019-0039: the REST API for a network OS has a high limit for number of connections, allowing brute force password guessing • CVE-1999-1152: Product does not disconnect or timeout after multiple failed logins. • CVE-2001-1291: Product does not disconnect or timeout after multiple failed logins. • CVE-2001-0395: Product does not disconnect or timeout after multiple failed logins. • CVE-2001-1339: Product does not disconnect or timeout after multiple failed logins. • CVE-2002-0628: Product does not disconnect or timeout after multiple failed logins. • CVE-1999-1324: User accounts not disabled when they exceed a threshold; possibly a resultant problem.

Related

Attack pattern · CAPEC (7)

  • CAPEC-16 Dictionary-based Password Attack attack pattern
  • CAPEC-49 Password Brute Forcing attack pattern
  • CAPEC-560 Use of Known Domain Credentials attack pattern
  • CAPEC-565 Password Spraying attack pattern
  • CAPEC-600 Credential Stuffing attack pattern
  • CAPEC-652 Use of Known Kerberos Credentials attack pattern
  • CAPEC-653 Use of Known Operating System Credentials attack pattern

Observed example · CVE (7)

  • CVE-2019-0039 If REST API is enabled, the Junos OS login credentials are vulnerable to brute force attacks. vulnerability
  • CVE-2002-0628 The Telnet service for Polycom ViewStation before 7.2.4 does not restrict the number of failed login attempts, which makes it easier for… vulnerability
  • CVE-2001-1291 The telnet server for 3Com hardware such as PS40 SuperStack II does not delay or disconnect remote attackers who provide an incorrect… vulnerability
  • CVE-2001-0395 Lightwave ConsoleServer 3200 does not disconnect users after unsuccessful login attempts, which could allow remote attackers to conduct… vulnerability
  • CVE-2001-1339 Beck IPC GmbH IPC@CHIP telnet service does not delay or disconnect users from the service when bad passwords are entered, which makes it… vulnerability
  • CVE-1999-1324 VAXstations running Open VMS 5.3 through 5.5-2 with VMS DECwindows or MOTIF do not properly disable access to user accounts that exceed the… vulnerability
  • CVE-1999-1152 Compaq/Microcom 6000 Access Integrator does not disconnect a client after a certain number of failed login attempts, which allows remote… vulnerability

Child of · CWE (3)

  • CWE-1390 Weak Authentication weakness
  • CWE-287 Improper Authentication weakness
  • CWE-799 Improper Control of Interaction Frequency weakness

Referenced by CAPEC · weakness (7)

  • CAPEC-16 Dictionary-based Password Attack attack pattern
  • CAPEC-49 Password Brute Forcing attack pattern
  • CAPEC-560 Use of Known Domain Credentials attack pattern
  • CAPEC-565 Password Spraying attack pattern
  • CAPEC-600 Credential Stuffing attack pattern
  • CAPEC-652 Use of Known Kerberos Credentials attack pattern
  • CAPEC-653 Use of Known Operating System Credentials attack pattern

Referenced by CVE · weakness (704)

  • CVE-2026-107145 The twofactor_gauthenticator plugin for Roundcube is vulnerable to brute-forcing of the second-factor code. vulnerability
  • CVE-2026-15586 Improper restriction of excessive authentication attempts vulnerability in İdvlabs Software and Consulting Services Inc. vulnerability
  • CVE-2026-116123 A weakness has been identified in NocoDB up to 2026.07.0. vulnerability
  • CVE-2026-77057 boneIO Black does not limit authentication attempts on its web interface (POST /api/login) or SSH service, and does not enforce password… vulnerability
  • CVE-2026-116007 A flaw has been found in YunaiV/zhijiantianya ruoyi-vue-pro up to 2026.09. vulnerability
  • CVE-2026-65825 OpenReception's appointment booking software provides an end-to-end encrypted appointment booking platform. vulnerability
  • CVE-2024-2323 The RemoteUserStoreManagerService does not sufficiently validate password change attempts when the password history validation feature is… vulnerability
  • CVE-2026-113710 ApostropheCMS is an open-source Node.js content management system. vulnerability
  • CVE-2026-43847 A vulnerability in the proprietary protocol could allow an attacker to brute force the administrator password without restrictions, even… vulnerability
  • CVE-2026-111056 FOSSBilling is an open source billing and client-management platform. vulnerability
  • CVE-2026-111874 A flaw has been found in OpenCATS 0.10.0. vulnerability
  • CVE-2026-111886 phpMyFAQ from 4.2.0-alpha.2 before 4.2.0-beta lacks brute-force lockout in the removeTwofactorConfig() 2FA removal endpoint, allowing… vulnerability
  • CVE-2026-111892 phpMyFAQ 4.2.0-alpha before 4.2.0-beta lacks effective rate limiting on the unauthenticated user/password/update and user/password/reset… vulnerability
  • CVE-2026-111675 Course-tencent-cloud through 2.0.1 contains an improper restriction of authentication attempts vulnerability that allows unauthenticated… vulnerability
  • CVE-2026-111356 MacCMS v10 through 2026.1000.4056 does not limit attempts on the six-digit password recovery code, allowing unauthenticated attackers to… vulnerability
  • CVE-2026-61611 Lychee is a free, open-source photo-management tool. vulnerability
  • CVE-2026-103977 FileRise is a self-hosted web-based file manager with multi-file upload, editing, and batch operations. vulnerability
  • CVE-2026-110770 Databasus 3.7.0 through 3.61.0 contains an authentication bypass vulnerability that allows unauthenticated attackers to brute-force… vulnerability
  • CVE-2026-110861 Better Auth @better-auth/drizzle-adapter and better-auth from 1.6.17 before 1.7.7, and @better-auth/kysely-adapter from 1.6.17 before… vulnerability
  • CVE-2026-69193 FileRise is a self-hosted web-based file manager with multi-file upload, editing, and batch operations. vulnerability
  • CVE-2026-93637 An authentication rate-limit bypass in Zimbra Collaboration Suite 10.1.0 through 10.1.21 allows unauthenticated attackers to make repeated… vulnerability
  • CVE-2026-109949 FreeRDP 3.0.0 before 3.32.0 contains an improper restriction of excessive authentication attempts in its virtual smartcard GIDS… vulnerability
  • CVE-2026-18318 IBM i 7.3, 7.4, 7.5, and 7.6 could allow a remote attacker to perform brute-force attacks to obtain credentials due to improper… vulnerability
  • CVE-2026-93346 Wazuh from 4.0.0 before 4.14.8 contains a race condition in API login throttling that allows unauthenticated attackers to bypass… vulnerability
  • CVE-2026-53997 Netherman Portal del Hermano (portaldelhermano.es) before 2026-10-06 contains a broken authentication vulnerability in its… vulnerability
  • CVE-2026-108163 Pingvin Share X before 1.22.0 contains an ineffective rate limiting vulnerability because throttler TTL values specified in seconds are… vulnerability
  • CVE-2026-108580 AniWorld Downloader before 5.3.0 contains an improper restriction of authentication attempts vulnerability in the WebUI /login POST handler… vulnerability
  • CVE-2026-108109 PHPNuxBill through 2025.3.20 contains an account takeover vulnerability in the customer password reset flow in… vulnerability
  • CVE-2026-76779 Dell Secure Connect Gateway (SCG) Policy Manager, versions prior to 5.34.00.16, contains an Improper Restriction of Excessive… vulnerability
  • CVE-2026-107638 pH7Builder (pH7 Social Dating CMS) before 18.5.0 contains an improper restriction of authentication attempts vulnerability that allows… vulnerability
Show all 704 ›

Referenced by CWE · has member (2)

  • CWE-1468 Weaknesses Addressed by the OWASP Golang Secure Coding Practices Guide view
  • CWE-884 CWE Cross-section view

Referenced by OWASP · mapped cwe (3)

  • A07:2025 Authentication Failures Top 10 2025
  • API2:2023 Broken Authentication API Security Top 10 2023
  • A07:2021 Identification and Authentication Failures Top 10 2021