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

CVE-2018-17187

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

Descrizione

The Apache Qpid Proton-J transport includes an optional wrapper layer to perform TLS, enabled by use of the 'transport.ssl(...)' methods. Unless a verification mode was explicitly configured, client and server modes previously defaulted as documented to not verifying a peer certificate, with options to configure this explicitly or select a certificate verification mode with or without hostname verification being performed. The latter hostname verifying mode was not implemented in Apache Qpid Proton-J versions 0.3 to 0.29.0, with attempts to use it resulting in an exception. This left only the option to verify the certificate is trusted, leaving such a client vulnerable to Man In The Middle (MITM) attack. Uses of the Proton-J protocol engine which do not utilise the optional transport TLS wrapper are not impacted, e.g. usage within Qpid JMS. Uses of Proton-J utilising the optional transport TLS wrapper layer that wish to enable hostname verification must be upgraded to version 0.30.0 or later and utilise the VerifyMode#VERIFY_PEER_NAME configuration, which is now the default for client mode usage unless configured otherwise.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apache qpid proton-j >= 0.3 <= 0.29.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.800 CVE di tipo CWE-295, con andamento e prevenzione

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