Lucene search

K
packetstormDavid PanterPACKETSTORM:145770
HistoryJan 09, 2018 - 12:00 a.m.

Yawcam 0.6.0 Directory Traversal

2018-01-0900:00:00
David Panter
packetstormsecurity.com
81

0.004 Low

EPSS

Percentile

74.0%

`Directory traversal vulnerability in Yawcam webcam server  
=========================================================  
  
Overview  
--------  
Affected Versions: Yawcam 0.2.6 through 0.6.0  
Patched Versions: Yawcam 0.6.1  
Vendor: Yawcam  
Vendor URL: http://www.yawcam.com  
CVE: CVE-2017-17662  
Credit: David Panter, Global Relay CSOC  
Status: Public  
Public disclosure URL: http://www.yawcam.com/news.php  
  
Summary  
-------  
By sending a specially crafted HTTP GET request a remote attacker can read arbitrary files on the target computer under the privileges of the Yawcam software or service.  
  
Product Description  
-------------------  
Yawcam is a free webcam software with an integrated HTTP server and wide variety of features.  
  
Severity Rating: High  
  
Vulnerability description  
-------------------------  
The Yamcam HTTP server contains a directory traversal vulnerability that allows attacker to read arbitrary files through a sequence in the form '.x./' or '....\x/' where x is a pattern composed of one or more (zero or more for the second pattern) of either \ or ..\ for example '.\./', '....\/' or '...\./'.  
  
For files with no extension a single dot needs to be appended to ensure the HTTP server does not alter the request.  
  
POC  
---  
By sending the following string to the Yawcam HTTP server we can read the hosts file from the target machine  
"GET /.\./.\./.\./.\./.\./.\./.\./windows/system32/drivers/etc/hosts."  
  
Timeline  
--------  
2017-12-12 Vulnerability discovered  
2017-12-13 Vendor contacted  
2017-12-13 CVE ID assigned  
2017-12-15 Vendor reply  
2017-12-18 Fixed version released  
2017-12-18 Vendor disclosed vulnerability  
`

0.004 Low

EPSS

Percentile

74.0%

Related for PACKETSTORM:145770