LDAP Nightmare: Zero-Click Exploit CVE-2024–49112 Rocks Windows
A critical vulnerability in Windows Server's LDAP implementation allows unauthenticated remote code execution. An attacker can crash the LSASS service on unpatched domain controllers, potentially leading to full system compromise.
Scott Bolen | RONIN OWL CTI Follow
Published on medium.com
The cybersecurity landscape of 2025 has kicked off with alarming news: the release of a zero-click Proof of Concept (PoC) exploit for CVE-2024–49112, ominously dubbed “LDAP Nightmare.” This critical vulnerability in Windows Server, with a CVSS score of 9.8, poses a severe risk to enterprise networks, particularly…
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 a memory corruption or logic error in the LSASS service when processing malicious LDAP referral responses.
Impact
The crash of LSASS can render domain controllers inoperative and provide a foothold for attackers to escalate privileges and execute further attacks.
What the attacker needed
Internet connectivity for DNS interactions; No authentication needed; Target runs unpatched Windows Server 2019-2022
The fix
Microsoft addressed the vulnerability in its December 2024 Patch Tuesday updates; organisations should apply the patch immediately.
How it was found
- Send DNS SRV queries to identify the domain's LDAP servers.
- Manipulate NetBIOS and CLDAP responses to establish communication with the target.
- Deliver crafted LDAP referral responses to trigger a crash in LSASS.
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.
This is a flaw in how Windows Server handles a network protocol called LDAP, which is used to look up information about users and computers. An attacker can send specially crafted network messages to crash a critical security service and possibly run their own code, all without needing a password. It affects unpatched servers that are exposed to the internet.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.