skip to content

What made BlueKeep (CVE-2019-0708) wormable, which Windows releases did it affect, and how do CVE-2019-1181 and CVE-2019-1182 (DejaBlue) differ?

level: middleimportance: must knowfreq 52%

answer

  1. Reached before any logon
  2. Spreads without a click
  3. Older releases, out-of-band updates
  4. Authenticate first narrows reach
  5. Newer releases, same shape

basics

~20 s

BlueKeep is a pre-authentication remote code execution flaw in Remote Desktop Services, which CISA calls wormable, affecting older releases such as Windows 7 and Server 2008 R2. CVE-2019-1181 and CVE-2019-1182 are similar flaws in newer releases.

solid answer

~40 s

CVE-2019-0708 (BlueKeep) is a remote code execution flaw in Remote Desktop Services reached **before authentication** with no user interaction. CISA calls it wormable and compares the potential spread with WannaCry in 2017. The CVE record lists Windows 7 SP1 and Windows Server 2008 and 2008 R2; Microsoft's May 14, 2019 guidance added out-of-band updates for unsupported releases such as Windows XP and Server 2003. CISA says enabling NLA on Windows 7 and Server 2008 and 2008 R2 effectively mitigates it, because exploitation needs an unauthenticated session. DejaBlue, CVE-2019-1181 and CVE-2019-1182, has the same pre-authentication shape in newer releases: Windows 8.1, Server 2012 and 2012 R2, and Windows 10 and Server 2016 and 2019 builds. The sources do not say NLA mitigates those, so patch.

go deeper

for a junior

Know that BlueKeep is a pre-authentication, wormable flaw in Remote Desktop Services on older Windows releases, fixed by an update.

for a middle

Explain why NLA reduced BlueKeep exposure, that the later records are separate flaws in newer releases, and why the sources' affected lists differ.

for a senior

Run a patch window: match the inventory against the record, Microsoft's guidance and CISA, and manage the hosts that cannot be updated as dated exceptions.

for a principal

Decide how the estate learns of a pre-authentication flaw in a remote-access service and how fast the response is, so the answer does not depend on one person's memory.

## What the record says about BlueKeep CVE-2019-0708 is described as a remote code execution vulnerability in Remote Desktop Services (formerly Terminal Services) that exists "when an unauthenticated attacker connects to the target system using RDP and sends specially crafted requests". Three properties matter for a defender: the flaw is in the **server side** of the service, it is reached **before authentication**, and it needs **no user interaction**. CISA's alert AA19-168A (initial version and technical revision both dated June 17, 2019) explains why it drew a government alert: BlueKeep is "wormable", meaning malware using it on one system could spread to other vulnerable systems, "in a fashion similar to the WannaCry malware attacks of 2017". Wormable describes reach without a person clicking; it is not a count of hosts hit. ## Which releases: three lists, three scopes | Source | What it lists | |---|---| | CVE record | Windows 7 SP1, and Windows Server 2008 (SP2) and 2008 R2 (SP1), including Server Core installations | | Microsoft customer guidance, May 14, 2019 | Out-of-band updates for releases outside mainstream support: Windows XP, XP Embedded, Server 2003 and 2003 R2, Windows Vista | | CISA AA19-168A | Windows 2000, Vista, XP, 7, Server 2003, 2003 R2, 2008 and 2008 R2, and says it determined that Windows 2000 is vulnerable | The lists do not contradict each other; they have different scopes. A patch window compares each host's release against all three, and a release with no update on any of them (the guidance used here lists none for Windows 2000) is a retirement item, not a patching one. ## Why requiring NLA reduced the exposure CISA says that enabling Network Level Authentication on Windows 7, Server 2008 and Server 2008 R2 "forces a session request to be authenticated and effectively mitigates against BlueKeep, as exploit of the vulnerability requires an unauthenticated session". The mechanism is ordering: with NLA the client authenticates before a session is created, so a client without valid credentials does not get to the code the flaw lives in. What it leaves open: the flawed code is still on the host, and only the update corrects it. NLA is a mitigation to apply while the update is scheduled, not a replacement for it. ## DejaBlue and the two later records CVE-2019-1181 and CVE-2019-1182 (DejaBlue) carry the same description plus the sentence "This vulnerability is pre-authentication and requires no user interaction", and the fix is an update that corrects "how Remote Desktop Services handles connection requests". Their affected lists are the newer family: Windows 8.1, Windows Server 2012 and 2012 R2, Windows 10 from version 1507 through 1903, and Windows Server 2016 and 2019 (with the 1803 and 1903 server releases). Windows 7 and Server 2008 are not on those lists, so BlueKeep and DejaBlue cover different fleets. Both records also list the Remote Desktop clients for Android, iOS and Mac among affected products, so the update list includes clients, unlike BlueKeep. CVE-2019-1222 and CVE-2019-1226 use the same wording for Windows 10 1803 through 1903 and Windows Server 2019 and the matching server releases; CVE-2019-1226 also lists version 1909. The sources used here do not say that NLA mitigates any of these four records. CISA's NLA statement is about BlueKeep and the three older releases it names, so for the later records the update is the fix. ## Handling a host that cannot be updated yet 1. Upgrade the unsupported release (CISA's wording: consider moving to a supported release). 2. Disable the service if the host does not need Remote Desktop. 3. Enable NLA where the release supports it. 4. Block TCP 3389 at the perimeter, accepting that this blocks legitimate RDP and does not stop sessions started inside the network. 5. Record the host as an exception with an owner and a date. ## Reading an advisory in a patch window - Which releases, and does your inventory name them exactly? - Which side must change: BlueKeep is server-side; the DejaBlue records also list clients. - Is it reached before authentication, and does a source say what mitigates it? - Keep the source kinds apart: a CVE record states the flaw and affected list, Microsoft's guidance states the updates, CISA states mitigations.

  • Why do the CVE record, Microsoft's guidance and CISA list different releases for BlueKeep?
    They answer different questions. The record lists the releases in the vulnerability entry (Windows 7 SP1 and Server 2008 and 2008 R2). Microsoft's May 14, 2019 guidance lists the extra platforms that no longer had mainstream support but received updates (Windows XP, Server 2003, Vista). CISA lists every family it considers affected, including Windows 2000. Use all three against the inventory.
  • Does enabling NLA make the later 2019 pre-authentication records harmless?
    The sources used here do not say so. CISA's statement concerns BlueKeep on Windows 7 and Server 2008 and 2008 R2; the records for CVE-2019-1181, CVE-2019-1182, CVE-2019-1222 and CVE-2019-1226 only say pre-authentication, no user interaction, and give an update. Keep NLA required as good practice, but treat the update as the fix and do not claim NLA covers them.
  • Why did Microsoft issue an update for Windows XP and Server 2003 for this flaw?
    Its guidance says some customers were running releases outside mainstream support and would not otherwise receive a fix for a critical remote code execution vulnerability, so it made the updates available from the Microsoft Update Catalog only. The decision reflects the potential impact; it does not make those releases supported.

  • Wormable means the flaw needs a user to click something
  • NLA removes the flawed code, so patching is optional
  • Only Windows 7 was ever affected by BlueKeep
  • BlueKeep and DejaBlue are the same flaw with two names
  • NLA is documented as mitigating all four later 2019 records
  • A perimeter block means no internal host can reach the flaw