Windows Lightweight Directory Access Protocol (LDAP) Remote Code Execution Vulnerability (CVE-2022-29130)
A flaw in Windows LDAP could be triggered by an unauthenticated attacker sending a specially crafted request, but only when the MaxReceiveBuffer policy is raised above its default. Successful exploitation could let the attacker's code run as the SYSTEM account.
FAQ
Are there any special conditions necessary for this vulnerability to be exploitable? Yes. This vulnerability is only exploitable if the MaxReceiveBuffer LDAP policy is set to a value higher than the default value. Systems with the default value of this policy would not be vulnerable. For more information, please see LDAP policies .
FAQ
How could an attacker exploit this vulnerability? An unauthenticated attacker could send a specially crafted request to a vulnerable server. Successful exploitation could result in the attacker's code running in the context of the SYSTEM account.
Windows LDAP - Lightweight Directory Access Protocol
Windows LDAP - Lightweight Directory Access Protocol
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a memory-safety flaw in how Windows LDAP handles incoming requests when the receive buffer policy is configured above its default size.
Impact
An unauthenticated attacker could run code as SYSTEM, but only on servers where the MaxReceiveBuffer policy has been raised above the default.
What the attacker needed
MaxReceiveBuffer policy above default; network access to the LDAP service
The fix
Microsoft addressed the issue; administrators should apply the update and keep the MaxReceiveBuffer policy at its default value.
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 report has not been written yet. The Original tab links to the source.
LDAP is a directory service that Windows uses to look up users and other information. This bug means a remote attacker who has not logged in could send a malformed request and, if a particular setting has been changed from its default, get their own code to run with the highest system privileges. Most systems keep the default setting and are therefore not affected.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.