Remote Desktop Connection Manager Information Disclosure Vulnerability (CVE-2020-0765)
RDCMan improperly parses XML input containing a reference to an external entity, allowing an attacker to read arbitrary files. An attacker could create a malicious RDG file and convince a user to open it.
Originally disclosed on Microsoft
Description
An information disclosure vulnerability exists in the Remote Desktop Connection Manager (RDCMan) application when it improperly parses XML input containing a reference to an external entity. An attacker who successfully exploited this vulnerability could read arbitrary files via an XML external entity (XXE) declaration. To exploit the vulnerability, an attacker could create an RDG file containing specially crafted XML content and convince an authenticated user to open the file.
FAQ
Where do I find the update for Remote Desktop Connection Manager (RDCMan)? Microsoft is not planning on fixing this vulnerability in RDCMan and has deprecated the application. Microsoft recommends using supported Remote Desktop clients and exercising caution when opening RDCMan configuration files (.rdg). Update 8/10/2021 RDCMan 2.82 is available through Sysinternals Remote Desktop Connection Manager - Windows Sysinternals | Microsoft Docs . This vulnerability has been addressed in this new version.
Remote Desktop Connection Manager
Remote Desktop Connection Manager
Issuing CNA
Microsoft
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application does not properly disable external entity resolution when parsing XML input.
Impact
An attacker could read arbitrary files on the victim's system, but only if the victim opens a malicious RDG file.
What the attacker needed
Victim opens a malicious RDG file
The fix
The vulnerability was addressed in RDCMan version 2.82.
How it was found
- Create an RDG file containing specially crafted XML content.
- Convince an authenticated user to open the file.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
RDCMan is a tool for managing remote desktop connections. It reads configuration files in XML format, and the vulnerability lets a malicious file trick the program into reading other files on your computer and sending their contents to an attacker. You would need to open a specially crafted file for this to happen.
What is XXE?
An XML parser resolves entities the attacker defines, reading local files or making the server send requests.