Windows Lightweight Directory Access Protocol (LDAP) Remote Code Execution Vulnerability (CVE-2022-29139)
A vulnerability in the Windows LDAP client allowed a malicious LDAP server to achieve remote code execution on the connecting client. An attacker could exploit this by convincing a user to connect their LDAP client to a server the attacker controls.
FAQ
How could an attacker exploit this vulnerability? An attacker could exploit the vulnerability by convincing a user to connect a Lightweight Directory Access Protocol (LDAP) client to a malicious LDAP server. When the vulnerability is successfully exploited this could allow the malicious server to gain remote code execution within the LDAP client.
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 the Windows LDAP client processes responses from a server.
Impact
A malicious LDAP server could gain remote code execution within the LDAP client, but the user must first be convinced to connect to that server.
What the attacker needed
Victim connects LDAP client to attacker server
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 directory information, such as users and groups, on a network. In this case, the program that connects to an LDAP server (the client) had a flaw that let a malicious server run its own code on the user's computer. The attacker only needed to trick someone into connecting to their fake server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.