1. Archivio CVE
  2. 2020
  3. CVE-2020-3442

CVE-2020-3442

5.7 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N 5.7 – Media

Descrizione

The DuoConnect client enables users to establish SSH connections to hosts protected by a DNG instance. When a user initiates an SSH connection to a DNG-protected host for the first time using DuoConnect, the user’s browser is opened to a login screen in order to complete authentication determined by the contents of the '-relay' argument. If the ‘-relay’ is set to a URL beginning with "http://", then the browser will initially attempt to load the URL over an insecure HTTP connection, before being immediately redirected to HTTPS (in addition to standard redirect mechanisms, the DNG uses HTTP Strict Transport Security headers to enforce this). After successfully authenticating to a DNG, DuoConnect stores an authentication token in a local system cache, so users do not have to complete this browser-based authentication workflow for every subsequent SSH connection. These tokens are valid for a configurable period of time, which defaults to 8 hours. If a user running DuoConnect already has a valid token, then instead of opening a web browser, DuoConnect directly contacts the DNG, again using the configured '-relay' value, and sends this token, as well as the intended SSH server hostname and port numbers. If the '-relay' argument begins with "http://", then this request will be sent over an insecure connection, and could be exposed to an attacker who is sniffing the traffic on the same network. The DNG authentication tokens that may be exposed during SSH relay may be used to gain network-level access to the servers and ports protected by that given relay host. The DNG provides network-level access only to the protected SSH servers. It does not interact with the independent SSH authentication and encryption. An attacker cannot use a stolen token on its own to authenticate against a DNG-protected SSH server.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
duo duoconnect < 1.1.1 –

Tipo di vulnerabilità

CWE-319 Trasmissione in chiaro di informazioni sensibili

Il prodotto trasmette dati sensibili o critici per la sicurezza senza cifrarli, su un canale che può essere intercettato.

Impatto sui sistemi

AmbitoImpatto
Integrità, Riservatezza Leggere i dati dell’applicazione, Modificare file o cartelle
Integrità, Riservatezza Leggere i dati dell’applicazione, Modificare file o cartelle, Altro

Come si previene

Architettura e progettazione Before transmitting, encrypt the data using reliable, confidentiality-protecting cryptographic protocols.
Sviluppo When using web applications with SSL, use SSL for the entire session from login to logout, not just for the initial login page.
Sviluppo When designing hardware platforms, ensure that approved encryption algorithms (such as those recommended by NIST) protect paths from security critical data to trusted user applications.
Test Usa strumenti e tecniche che richiedono un’analisi manuale, come i penetration test, la modellazione delle minacce e strumenti interattivi che permettono a chi testa di registrare e modificare una sessione attiva. Possono essere più efficaci delle tecniche solo automatiche, soprattutto per gli errori legati alla progettazione e alle regole di business.
Esercizio Configure servers to use encrypted channels for communication, which may include SSL or other secure protocols.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 937 CVE di tipo CWE-319, con andamento e prevenzione

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