Vulnerabilities > CVE-2019-17662 - Insufficiently Protected Credentials vulnerability in Cybelsoft Thinvnc 1.0
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
HIGH Integrity impact
HIGH Availability impact
HIGH Summary
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.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 1 |
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Session Sidejacking Session sidejacking takes advantage of an unencrypted communication channel between a victim and target system. The attacker sniffs traffic on a network looking for session tokens in unencrypted traffic. Once a session token is captured, the attacker performs malicious actions by using the stolen token with the targeted application to impersonate the victim. This attack is a specific method of session hijacking, which is exploiting a valid session token to gain unauthorized access to a target system or information. Other methods to perform a session hijacking are session fixation, cross-site scripting, or compromising a user or server machine and stealing the session token.
- Lifting credential(s)/key material embedded in client distributions (thick or thin) An attacker examines a target application's code or configuration files to find credential or key material that has been embedded within the application or its files. Many services require authentication with their users for the various purposes including billing, access control or attribution. Some client applications store the user's authentication credentials or keys to accelerate the login process. Some clients may have built-in keys or credentials (in which case the server is authenticating with the client, rather than the user). If the attacker is able to locate where this information is stored, they may be able to retrieve these credentials. The attacker could then use these stolen credentials to impersonate the user or client, respectively, in interactions with the service or use stolen keys to eavesdrop on nominally secure communications between the client and server.
- Password Recovery Exploitation An attacker may take advantage of the application feature to help users recover their forgotten passwords in order to gain access into the system with the same privileges as the original user. Generally password recovery schemes tend to be weak and insecure. Most of them use only one security question . For instance, mother's maiden name tends to be a fairly popular one. Unfortunately in many cases this information is not very hard to find, especially if the attacker knows the legitimate user. These generic security questions are also re-used across many applications, thus making them even more insecure. An attacker could for instance overhear a coworker talking to a bank representative at the work place and supplying their mother's maiden name for verification purposes. An attacker can then try to log in into one of the victim's accounts, click on "forgot password" and there is a good chance that the security question there will be to provide mother's maiden name. A weak password recovery scheme totally undermines the effectiveness of a strong password scheme.
Exploit-Db
id | EDB-ID:47519 |
last seen | 2019-10-17 |
modified | 2019-10-17 |
published | 2019-10-17 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/47519 |
title | ThinVNC 1.0b1 - Authentication Bypass |
Metasploit
description | This module exploits a directory traversal vulnerability in ThinVNC versions 1.0b1 and prior which allows unauthenticated users to retrieve arbitrary files, including the ThinVNC configuration file. This module has been tested successfully on ThinVNC versions 1.0b1 and "ThinVNC_Latest" (2018-12-07). |
id | MSF:AUXILIARY/SCANNER/HTTP/THINVNC_TRAVERSAL |
last seen | 2020-06-14 |
modified | 2019-10-17 |
published | 2019-10-17 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/auxiliary/scanner/http/thinvnc_traversal.rb |
title | ThinVNC Directory Traversal |
Packetstorm
data source | https://packetstormsecurity.com/files/download/154896/thinvnc10b1-bypass.txt |
id | PACKETSTORM:154896 |
last seen | 2019-10-18 |
published | 2019-10-17 |
reporter | Nikhith Tumamlapalli |
source | https://packetstormsecurity.com/files/154896/ThinVNC-1.0b1-Authentication-Bypass.html |
title | ThinVNC 1.0b1 Authentication Bypass |
References
- http://packetstormsecurity.com/files/154896/ThinVNC-1.0b1-Authentication-Bypass.html
- http://packetstormsecurity.com/files/154896/ThinVNC-1.0b1-Authentication-Bypass.html
- https://github.com/bewest/thinvnc/issues/5
- https://github.com/bewest/thinvnc/issues/5
- https://github.com/shashankmangal2/Exploits/blob/master/ThinVNC-RemoteAccess/POC.py
- https://github.com/shashankmangal2/Exploits/blob/master/ThinVNC-RemoteAccess/POC.py
- https://redteamzone.com/ThinVNC/
- https://redteamzone.com/ThinVNC/