1. Archivio CVE
  2. 2022
  3. CVE-2022-42916

CVE-2022-42916

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

Descrizione

In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple macos < 12.6.3 –
apple macos >= 13.0 < 13.2 –
fedoraproject fedora 35 –
fedoraproject fedora 36 –
fedoraproject fedora 37 –
haxx curl >= 7.77.0 < 7.86.0 –
splunk universal forwarder >= 8.2.0 < 8.2.12 –
splunk universal forwarder >= 9.0.0 < 9.0.6 –
splunk universal forwarder 9.1.0 –
Tutte le 169 vulnerabilità di Haxx Curl

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 940 CVE di tipo CWE-319, con andamento e prevenzione

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