Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 1.63 KB

README.md

File metadata and controls

27 lines (17 loc) · 1.63 KB

BlueGate

Proof of Concept (Denial of Service) for CVE-2020-0609 and CVE-2020-0610.

These vulnerabilities allows an unauthenticated attacker to gain remote code execution with highest privileges via RD Gateway for RDP.

Please use for research and educational purpose only.

Usage

You must have the OpenSSL libraries and headers installed. The default location in the project settings is C:\Program Files\OpenSSL-Win64. If you don't have Visual Studio, you should make some minor changes in datatypes and socket initialization.

Vulnerability

The vulnerabilities allows an unauthenticated attacker to write forward out-of-bound in the heap, by specifying an unchecked and arbitrary index parameter (0x00 - 0xFFFF). The data to write is also arbitrary with a length up to 1000 bytes at a time and a maximum of 4096 during one session.

If you would like to read more about the vulnerabilities, check this or read my latest tweets on Twitter with a PoC video as well.

What is RD Gateway?

RD Gateway acts as a proxy for RDP; i.e. between some internal servers and the internet, so you don't have to expose RDP directly to the internet. Inside Release you will find an already compiled executable. Note that as soon as the executable is running, it will connect to the server and start sending malicious packets, so be careful.

.\BlueGate.exe <IP address>

Why BlueGate?

That was just the working title, and I couldn't come up with a better one at this stage.

Todo:

  • Vulnerability scanner/checker
  • Python implementation