CVE-2025-20138

A vulnerability in the CLI of Cisco IOS XR Software could allow an authenticated, local attacker to execute arbitrary commands as root on the underlying operating system of an affected device. This vulnerability is due to insufficient validation of user arguments that are passed to specific CLI commands. An attacker with a low-privileged account could exploit this vulnerability by using crafted commands at the prompt. A successful exploit could allow the attacker to elevate privileges to root and execute arbitrary commands.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:x64:*
cpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:x64:*

History

31 Jul 2025, 18:11

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad en la CLI del software Cisco IOS XR podría permitir que un atacante local autenticado ejecute comandos arbitrarios como superusuario en el sistema operativo subyacente de un dispositivo afectado. Esta vulnerabilidad se debe a una validación insuficiente de los argumentos de usuario que se pasan a comandos CLI específicos. Un atacante con una cuenta con pocos privilegios podría explotar esta vulnerabilidad utilizando comandos manipulados en el símbolo del sistema. Una explotación exitosa podría permitirle elevar los privilegios a superusuario y ejecutar comandos arbitrarios.
References () https://blog.apnic.net/2024/09/02/crafting-endless-as-paths-in-bgp/ - () https://blog.apnic.net/2024/09/02/crafting-endless-as-paths-in-bgp/ - Technical Description
References () https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-priv-esc-GFQjxvOF - () https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-iosxr-priv-esc-GFQjxvOF - Vendor Advisory
First Time Cisco
Cisco ios Xr
CPE cpe:2.3:o:cisco:ios_xr:*:*:*:*:*:*:x64:*

12 Mar 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-12 16:15

Updated : 2025-07-31 18:11


NVD link : CVE-2025-20138

Mitre link : CVE-2025-20138

CVE.ORG link : CVE-2025-20138


JSON object : View

Products Affected

cisco

  • ios_xr
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')