CVE-2025-20196 - Improper Restriction of Excessive Authentication Attempts

Severity

53%

Complexity

39%

Confidentiality

23%

A vulnerability in the Cisco IOx application hosting environment of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause the Cisco IOx application hosting environment to stop responding, resulting in a denial of service (DoS) condition. This vulnerability is due to the improper handling of HTTP requests. An attacker could exploit this vulnerability by sending crafted HTTP requests to an affected device. A successful exploit could allow the attacker to cause the Cisco IOx application hosting environment to stop responding. The IOx process will need to be manually restarted to recover services.

CVSS 3.1 Base Score 5.3. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Demo Examples

Improper Restriction of Excessive Authentication Attempts

CWE-307

Improper Restriction of Excessive Authentication Attempts

CWE-307

The following code, extracted from a servlet's doPost() method, performs an authentication lookup every time the servlet is invoked.


               
int authResult = authenticateUser(username, password);

However, the software makes no attempt to restrict excessive authentication attempts.

Improper Restriction of Excessive Authentication Attempts

CWE-307

This code attempts to limit the number of login attempts by causing the process to sleep before completing the authentication.


               
$isAuthenticated = authenticateUser($username, $password);

However, there is no limit on parallel connections, so this does not increase the amount of time an attacker needs to complete an attack.

Improper Restriction of Excessive Authentication Attempts

CWE-307

In the following C/C++ example the validateUser method opens a socket connection, reads a username and password from the socket and attempts to authenticate the username and password.


               
}
return(SUCCESS);
return(FAIL);
}
}
isValidUser = AuthenticateUser(username, password);

The validateUser method will continuously check for a valid username and password without any restriction on the number of authentication attempts made. The method should limit the number of authentication attempts made to prevent brute force attacks as in the following example code.


               
}
}
count++;
}
isValidUser = AuthenticateUser(username, password);
return(SUCCESS);
return(FAIL);

Overview

Type

Cisco IOS XE

First reported 2 months ago

2025-05-07 18:15:00

Last updated 2 weeks ago

2025-07-11 14:55:00

Affected Software

Cisco IOS XE 16.1.1

16.1.1

Cisco IOS XE 16.3.4

16.3.4

Cisco IOS XE 16.3.5

16.3.5

Cisco IOS XE 16.4.2

16.4.2

Cisco IOS XE 16.5.1

16.5.1

Cisco IOS XE 16.5.1B

16.5.1b

Cisco IOS XE 16.3.7

16.3.7

Cisco IOS XE 16.3.8

16.3.8

Cisco IOS XE 16.4.3

16.4.3

Cisco IOS XE 16.5.2

16.5.2

Cisco IOS XE 16.5.3

16.5.3

Cisco IOS XE 17.1.1

17.1.1

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.