CVE-2021-1572 ConfD CLI Secure Shell Server Privilege Escalation Vulnerability

High 7.8 Published Updated

An authenticated local attacker can escalate privileges to root by exploiting the ConfD CLI SSH server's SFTP service when enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-1572?

CVE-2021-1572 is a high-severity vulnerability in Cisco ConfD, published on 4 Aug 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A vulnerability in ConfD could allow an authenticated, local attacker to execute arbitrary commands at the level of the account under which ConfD is running, which is commonly root. To exploit this vulnerability, an attacker must have a valid account on an affected device. The vulnerability exists because the affected software incorrectly runs the SFTP user service at the privilege level of the account that was running when the ConfD built-in Secure Shell (SSH) server for CLI was enabled. If the ConfD built-in SSH server was not enabled, the device is not affected by this vulnerability. An attacker with low-level privileges could exploit this vulnerability by authenticating to an affected device and issuing a series of commands at the SFTP interface. A successful exploit could allow the attacker to elevate privileges to the level of the account under which ConfD is running, which is commonly root. Note: Any user who can authenticate to the built-in SSH server may exploit this vulnerability. By default, all ConfD users have this access if the server is enabled. Software updates that address this vulnerability have been released.

Weakness: CWE-269, CWE-266

Which versions are affected by CVE-2021-1572?

It affects 2 products.

Products include Cisco Confd, Cisco Network Services Orchestrator.

How do I fix CVE-2021-1572?

No fix has been published for CVE-2021-1572 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-1572 being exploited?

There is no known exploitation of CVE-2021-1572 in the wild and no public exploit code.

Sources

Also known as GHSA-jjcm-mvqj-g3mq.

Is CVE-2021-1572 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free