DejaBlue CVE-2019-1181 – RDP RCE on Modern Windows
DejaBlue is a family of heap overflow vulnerabilities in the Windows Remote Desktop Services client — specifically in the rdpcore.dll decompression handling. Like BlueKeep, they are pre-authentication and require no user interaction. Unlike BlueKeep, they affect modern Windows versions: Windows 8, 8.1, 10, and Server 2012 through 2019.
Two CVEs cover the family: CVE-2019-1181 (Windows 8 through Server 2019) and CVE-2019-1182 (same scope, slightly different decompression path). Both were patched in August 2019 (Patch Tuesday, KB4512508 and related KBs).
Honest caveat: Public weaponised RCE exploits for DejaBlue are significantly less reliable than BlueKeep. Microsoft did not release technical details at disclosure time, and the available public PoCs have stability issues. The Metasploit module does not exist as of writing. For OSCP labs you are more likely to encounter BlueKeep than DejaBlue. This page covers what is available and what to expect.
Warning
This may be restricted in exams such as OSCP. Verify exam rules before use.
Confirming Vulnerability
Safe detection methodology including rdpscan and Metasploit auxiliary scanner is covered in RDP Known Vulnerability Detection. For version-based patch level matching, Nmap version detection provides OS build identification:
A more targeted check using the rdpscan tool:
10.10.10.10 - VULNERABLE -- got appid
rdpscan detects BlueKeep and some DejaBlue variants. If the host is running Windows 8 or later and rdpscan flags it, proceed.
Check the patch level via SMB if you have credentials:
Look for Build in the output and match against patched builds. August 2019 patches set the build to 17763.678 (Windows 10 1809) or 14393.3143 (Windows Server 2016). Builds below these thresholds on those versions are unpatched.
Available PoC Code
The most maintained public PoC is the Rrivera1849 repository, which implements a basic crash/PoC for CVE-2019-1181. It confirms vulnerability but does not deliver a stable shell:
A crash (BSOD on the target) confirms the vulnerability. This is not RCE — it confirms exploitability for reporting purposes.
Weaponised Exploitation
No stable public RCE exploit equivalent to BlueKeep's Metasploit module exists for DejaBlue as of writing. Commercial tools (Core Impact, Canvas) have reported working modules but these are not publicly available.
If you encounter a DejaBlue-vulnerable target in a lab, the practical path is to fall back to credential-based access:
Check for default or weak credentials (see https://hackindex.io/services/rdp/exploitation/brute-force-password-spray)
If you have network access to other services, attempt credential reuse via SMB or WinRM
Check whether the host is also vulnerable to BlueKeep (some Windows 7 dual-boot or legacy systems present alongside modern OS installs)
Checking for Both BlueKeep and DejaBlue Together
Run both checks using Metasploit auxiliary scanners (safe check, not exploitation):
If the host is Windows 7 or Server 2008 R2, pivot to the BlueKeep page at https://hackindex.io/services/rdp/exploitation/vulnerabilities/bluekeep-cve-2019-0708 which has a reliable exploitation path.
References
-
Microsoft MSRC Official advisory with affected versions, patch references, and workaround guidance.
-
rdpscan Fast RDP vulnerability scanner covering BlueKeep and DejaBlue family detection.
Was this helpful?
Your feedback helps improve this page.