cve/2019/CVE-2019-5101.md

18 lines
1.7 KiB
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2019-5101](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-5101)
![](https://img.shields.io/static/v1?label=Product&message=OpenWRT&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20OpenWrt%2015.05.1%2C%20via%20wget%20(busybox)%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-295%3A%20Improper%20Certificate%20Validation&color=brighgreen)
### Description
An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1. When connecting to a remote server, the server's SSL certificate is checked but no action is taken when the certificate is invalid. An attacker could exploit this behavior by performing a man-in-the-middle attack, providing any certificate, leading to the theft of all the data sent by the client during the first request.An exploitable information leak vulnerability exists in the ustream-ssl library of OpenWrt, versions 18.06.4 and 15.05.1. When connecting to a remote server, the server's SSL certificate is checked but no action is taken when the certificate is invalid. An attacker could exploit this behavior by performing a man-in-the-middle attack, providing any certificate, leading to the theft of all the data sent by the client during the first request. After an SSL connection is initialized via _ustream_ssl_init, and after any data (e.g. the client's HTTP request) is written to the stream using ustream_printf, the code eventually enters the function _ustream_ssl_poll, which is used to dispatch the read/write events
### POC
#### Reference
- https://talosintelligence.com/vulnerability_reports/TALOS-2019-0893
#### Github
No PoCs found on GitHub currently.