cve/2018/CVE-2018-8970.md

21 lines
1.0 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-8970](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-8970)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- https://hackerone.com/reports/329645
2024-06-09 00:33:16 +00:00
- https://hackerone.com/reports/329645
2024-05-26 14:27:05 +02:00
#### Github
- https://github.com/0xT11/CVE-POC
- https://github.com/hectorgie/PoC-in-GitHub
- https://github.com/tiran/CVE-2018-8970