Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2024-49112: Remote Code Execution in Windows LDAP

Published Dec 10, 2024 · Updated 19 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS10.1%96th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Microsoft Corporation
IdentifiersCVE-2024-49112

CVE-2024-49112 is a critical remote code execution vulnerability in Windows Lightweight Directory Access Protocol (LDAP), affecting multiple versions of Windows 10, Windows 11, and Windows Server, including server releases dating back to Windows Server 2008. An unauthenticated remote attacker can send specially crafted LDAP calls to execute arbitrary code in the context of the LDAP service. Exploitation requires no user interaction. The vulnerability has a CVSS base score of 9.8 and was addressed in Microsoft's December 2024 security updates. The specific vulnerable function and underlying weakness are not established.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation permits arbitrary code execution with the privileges of the LDAP service, threatening the confidentiality, integrity, and availability of the affected system. Compromise of a domain controller could expose critical directory infrastructure and enable further attacks against the domain. The vulnerability alone does not establish a separate privilege-escalation capability beyond the compromised service's security context.

Mitigation

If you can’t patch tonight, do this now.

Until patches can be deployed, prevent domain controllers from accessing the internet and block inbound RPC traffic from untrusted networks. Microsoft guidance includes blocking inbound TCP port 135 on domain controllers. Apply these restrictions with consideration for legitimate domain and administrative dependencies; network controls are not a substitute for installing the security update.

Remediation

Patch, then assume compromise.

Install the applicable Microsoft December 2024 security update addressing CVE-2024-49112, or a superseding cumulative security update, on affected Windows clients and servers. Prioritize domain controllers and verify deployment across affected systems, including Server Core installations.

Public exploits

Exploits

1 exploit validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2024-49112This repository provides a proof-of-concept exploit for CVE-2024-49112, a critical vulnerability in the Windows LDAP client that can be triggered remotely to crash Windows Server systems. The exploit is implemented in Python and consists of several components: - `LdapNightmare.py`: The main entry point. It parses command-line arguments, starts a malicious LDAP server (on a configurable UDP port, default 389), and then triggers the target to connect to this server by invoking the Netlogon Remote Protocol (NRPC) DsrGetDcNameEx2 RPC call against the target Windows Server. - `exploit_server.py`: Implements the malicious LDAP server using asyncio and ldaptor. When the victim connects, it sends a specially crafted LDAP referral response (with a referral to 'ldap://referral.com'), which is designed to trigger the vulnerability. - `rpc_call.py`: Handles the NRPC DsrGetDcNameEx2 call using impacket, which is used to force the target to connect to the attacker's LDAP server. - `logger.py`: Provides logging functionality. - `requirements.txt`: Lists dependencies (ldaptor, impacket). - `Readme.md`: Contains detailed setup and usage instructions, including the need for the attacker to control a domain with specific DNS SRV records pointing to the attacker's LDAP server. The exploit requires the attacker to control DNS SRV records for a domain and to run a malicious LDAP server. The attack vector is network-based, targeting Windows Server systems with accessible Netlogon and LDAP services. The exploit's main effect is to crash the target system, demonstrating the vulnerability. No weaponized or post-exploitation payload is included; the exploit is a proof-of-concept for denial of service.CCIEVoice2009 · Disclosed Jan 2, 2025 · python · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Microsoft CorporationWindows 10 1507operating_system
Microsoft CorporationWindows 10 1607operating_system
Microsoft CorporationWindows 10 1809operating_system
Microsoft CorporationWindows 10 21h2operating_system
Microsoft CorporationWindows 10 22h2operating_system
Microsoft CorporationWindows 11 22h2operating_system
Microsoft CorporationWindows 11 23h2operating_system
Microsoft CorporationWindows 11 24h2operating_system
Microsoft CorporationWindows Server 2008operating_system
Microsoft CorporationWindows Server 2008 R2operating_system
Microsoft CorporationWindows Server 2008 Sp2operating_system
Microsoft CorporationWindows Server 2012operating_system
Microsoft CorporationWindows Server 2012 R2operating_system
Microsoft CorporationWindows Server 2016operating_system
Microsoft CorporationWindows Server 2019operating_system
Microsoft CorporationWindows Server 2022operating_system
Microsoft CorporationWindows Server 2022 23h2operating_system
Microsoft CorporationWindows Server 2025operating_system
Microsoft CorporationWindows Server 23h2operating_system
FAQ

Frequently asked questions

Is CVE-2024-49112 exploited in the wild?
As of Nov 9, 2026, Mallory has no reports of CVE-2024-49112 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2024-49112?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2024-49112, the earliest disclosed Jan 2, 2025.
Is there a patch for CVE-2024-49112?
Install the applicable Microsoft December 2024 security update addressing CVE-2024-49112, or a superseding cumulative security update, on affected Windows clients and servers. Prioritize domain controllers and verify deployment across affected systems, including Server Core installations.
What products are affected by CVE-2024-49112?
Microsoft Corporation Windows Server 2008, Microsoft Corporation Windows 10 1507, Microsoft Corporation Windows 10 1607, Microsoft Corporation Windows 10 1809, Microsoft Corporation Windows 10 21h2, and 14 more.
How severe is CVE-2024-49112?
CVE-2024-49112 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 10.1% (96th percentile) as of Nov 9, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.