CVE-2018-8970
HIGHLibreSSL 2.7.0 - Improper Certificate Validation via Zero-Length Hostname
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2018-8970. PoCs published by tiran.
AI-analyzed exploit summary This PoC demonstrates CVE-2018-8970, a vulnerability in OpenSSL where the host name verification does not correctly handle wildcards, allowing an attacker to bypass certificate validation. The code connects to a server and verifies the host name against a mismatched certificate, exploiting the flaw.
Description
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.
Exploits (1)
This PoC demonstrates CVE-2018-8970, a vulnerability in OpenSSL where the host name verification does not correctly handle wildcards, allowing an attacker to bypass certificate validation. The code connects to a server and verifies the host name against a mismatched certificate, exploiting the flaw.
References (3)
Scores
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N