CVE-2019-0708 Scanner PoC by @JaGoTu and @zerosum0x0.
A scanner fork of rdesktop that can detect if a host is vulnerable to CVE-2019-0708 Microsoft Windows Remote Desktop Services Remote Code Execution vulnerability.
It shouldn't cause denial-of-service, but there is no 100% guarantee across all vulnerable versions of the RDP stack over the years.
There is also a Metasploit module, which is a current work in progress (MSF does not have an RDP library).
There is a pre-made binary, but the steps to building from source are as follows:
git clone https://github.com/zerosum0x0/CVE-2019-0708.git
cd CVE-2019-0708/rdesktop-fork-bd6aa6acddf0ba640a49834807872f4cc0d0a773/
./bootstrap
./configure --disable-credssp --disable-smartcard
make
Please refer to the normal rdesktop compilation instructions.
Small details of the vulnerability have already begun to reach mainstream. This tool in no way enables attackers to achieve a theoretical RCE.
Modifying this PoC to trigger the denial-of-service does lower the bar but will also require some amount of effort. We offer no explanation of how this scanner works other than to tell the user it seems to be accurate in testing and follows a logical path.
System administrators need tools like this to discover vulnerable hosts. This tool is offered for legal purposes only and to forward the security community's understanding of this vulnerability.
rdesktop fork is licensed as GPLv3.
Metasploit module is licensed as Apache 2.0.