Vulnerability in OpenBSD Libressl

CVE-2018-8970

The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.c in LibreSSL 2.7.0 before 2.7.1 does not support a certain special case of a zero name length, which causes silent omission of hostname verification, and consequently allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate. NOTE: the LibreSSL documentation indicates that this special case is supported, but the BoringSSL documentation does not.

Vulnerability class: Improper Certificate Validation

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N.

EPSS exploit prediction

EPSS 0.010, 63.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • tiran/CVE-2018-8970 (1 star, last pushed 2018-03-25): Demo for https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8970

Also mentioned in 2 other repositories (0xT11/CVE-POC, hectorgie/PoC-in-GitHub). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References