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

CVE-2021-22926

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

Descrizione

libcurl-using applications can ask for a specific client certificate to be used in a transfer. This is done with the `CURLOPT_SSLCERT` option (`--cert` with the command line tool).When libcurl is built to use the macOS native TLS library Secure Transport, an application can ask for the client certificate by name or with a file name - using the same option. If the name exists as a file, it will be used instead of by name.If the appliction runs with a current working directory that is writable by other users (like `/tmp`), a malicious user can create a file name with the same name as the app wants to use by name, and thereby trick the application to use the file based cert instead of the one referred to by name making libcurl send the wrong client certificate in the TLS connection handshake.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
haxx curl >= 7.33.0 < 7.78.0 –
netapp active iq unified manager tutte vmware_vsphere
netapp active iq unified manager tutte windows
netapp clustered data ontap tutte –
netapp h300e firmware tutte –
netapp h300s firmware tutte –
netapp h410s firmware tutte –
netapp h500e firmware tutte –
netapp h500s firmware tutte –
netapp h700e firmware tutte –
netapp h700s firmware tutte –
netapp hci management node tutte –
netapp oncommand insight tutte –
netapp oncommand workflow automation tutte –
netapp snapcenter tutte –
netapp solidfire tutte –
oracle mysql server >= 5.7.0 <= 5.7.35 –
oracle mysql server >= 8.0.0 <= 8.0.26 –
oracle peoplesoft enterprise peopletools 8.57 –
oracle peoplesoft enterprise peopletools 8.58 –
oracle peoplesoft enterprise peopletools 8.59 –
siemens sinec infrastructure network services < 1.0.1.1 –
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-295 Validazione impropria del certificato

Il prodotto non verifica, o verifica in modo errato, un certificato digitale, esponendo le comunicazioni a intercettazioni.

Impatto sui sistemi

AmbitoImpatto
Integrità, Autenticazione Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Sviluppo Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Sviluppo If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

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

Tutte le 1.811 CVE di tipo CWE-295, con andamento e prevenzione

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