1. Archivio CVE
  2. 2018
  3. CVE-2018-20200

CVE-2018-20200

5.9 Gravità media CVSS v3.0 · fonte NVD CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N 5.9 – Media

Descrizione

CertificatePinner.java in OkHttp 3.x through 3.12.0 allows man-in-the-middle attackers to bypass certificate pinning by changing SSLContext and the boolean values while hooking the application. NOTE: This id is disputed because some parties don't consider this is a vulnerability. Their rationale can be found in https://github.com/square/okhttp/issues/4967

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
squareup okhttp >= 3.0.0 <= 3.12.0 –

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.798 CVE di tipo CWE-295, con andamento e prevenzione

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