Windows Lightweight Directory Access Protocol (LDAP) Remote Code Execution Vulnerability (CVE-2023-38184)
A race condition in Windows LDAP could allow an authenticated attacker to execute arbitrary code by sending a specially crafted LDAP call. The attacker must win the race condition to succeed.
Originally disclosed on Microsoft
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.
FAQ
How could an attacker exploit this vulnerability? An authenticated attacker who successfully exploited this vulnerability could gain code execution through a specially crafted LDAP call to execute arbitrary code within the context of the LDAP service.
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 race condition in the Windows LDAP service that allows a crafted call to execute code when timing is won.
Impact
An authenticated attacker could gain code execution within the context of the LDAP service, but only if they win the race condition.
What the attacker needed
Authenticated access; win a race condition
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 protocol used to look up information in directories, like a phone book for computers. A race condition is a timing flaw where two actions happen at once and the result depends on which finishes first. Here, an attacker with a valid login could try to exploit that timing to run their own code on the server.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.