1. Archivio CVE
  2. 2021
  3. CVE-2021-1572

CVE-2021-1572

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
cisco confd >= 7.4 <= 7.4.3 –
cisco confd >= 7.5 <= 7.5.2 –
cisco network services orchestrator >= 5.4 <= 5.4.3.1 –
cisco network services orchestrator >= 5.5 <= 5.5.2.2 –

Tipo di vulnerabilità

CWE-269 Gestione impropria dei privilegi

Il prodotto non assegna, modifica, traccia o verifica correttamente i privilegi di un soggetto, che finisce per avere poteri maggiori di quelli previsti.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Esercizio Gestisci con molta attenzione l’assegnazione e l’uso dei privilegi, e definisci in modo esplicito le zone di fiducia del software.
Architettura e progettazione · Separazione dei privilegi Segui il principio del privilegio minimo quando assegni i diritti di accesso ai soggetti di un sistema software.
Architettura e progettazione · Separazione dei privilegi Valuta il principio della separazione dei privilegi: richiedi che siano soddisfatte più condizioni prima di concedere l’accesso a una risorsa del sistema.

Tutte le 4.406 CVE di tipo CWE-269, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org