Files
CVEs-PoC/2017/CVE-2017-5595.md
T
2024-06-18 02:51:15 +02:00

19 lines
924 B
Markdown

### [CVE-2017-5595](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5595)
![](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
A file disclosure and inclusion vulnerability exists in web/views/file.php in ZoneMinder 1.x through v1.30.0 because of unfiltered user-input being passed to readfile(), which allows an authenticated attacker to read local system files (e.g., /etc/passwd) in the context of the web server user (www-data). The attack vector is a .. (dot dot) in the path parameter within a zm/index.php?view=file&path= request.
### POC
#### Reference
- http://seclists.org/bugtraq/2017/Feb/6
- http://seclists.org/fulldisclosure/2017/Feb/11
#### Github
- https://github.com/ARPSyndicate/cvemon