Skip to content
DoS Write-up Advanced

LDAPNightmare PoC Exploit Crashes LSASS and Reboots Windows Domai

An out-of-bounds read flaw in Windows LDAP could be triggered by a crafted CLDAP referral response, causing the LSASS service to crash and the domain controller to reboot. The same exploit chain could potentially be modified to achieve remote code execution.

RED DRAGON Follow

Published on medium.com

A proof-of-concept (PoC) exploit has been released for a now-patched security flaw impacting Windows Lightweight Directory Access Protocol (LDAP) that could trigger a denial-of-service (DoS) condition.

RED DRAGON, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an out-of-bounds read in the LDAP service when processing a CLDAP referral response with a non-zero 'lm_referral' value.

Impact

An unauthenticated attacker could crash LSASS and force a reboot of an unpatched Windows Server domain controller, causing a denial-of-service; the same chain could potentially be modified for remote code execution.

What the attacker needed

Unpatched Windows Server domain controller; DNS server of victim DC has Internet connectivity

The fix

Microsoft addressed the vulnerability in its December 2024 Patch Tuesday updates; organisations should apply those patches.

How it was found

  1. Send a DCE/RPC request to the victim server.
  2. Send a specially crafted CLDAP referral response packet with a non-zero value for 'lm_referral'.
  3. The LSASS service crashes and the server reboots.

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 write-up has not been written yet. The Original tab links to the source.

Windows domain controllers use a service called LSASS to handle logins and security. A bug in how they read certain network messages could let an attacker send a malformed message that crashes that service, forcing the server to restart. This is a denial-of-service: the attacker cannot steal data, but they can disrupt the system.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by RED DRAGON

View all

2 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.