Descrizione
curl before 7.53.0 has an incorrect TLS Certificate Status Request extension feature that asks for a fresh proof of the server's certificate's validity in the code that checks for a test success or failure. It ends up always thinking there's valid proof, even when there is none or if the server doesn't support the TLS extension in question. This could lead to users not detecting when a server's certificate goes invalid or otherwise be mislead that the server is in a better shape than it is in reality. This flaw also exists in the command line tool (--cert-status).
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
| Ambito | Impatto |
| 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.
Tutte le 1.794 CVE di tipo CWE-295, con andamento e prevenzione