Skip to content
Race condition Advisory Advanced CVE-2023-35351

Windows Active Directory Certificate Services (AD CS) Remote Code Execution Vulnerability (CVE-2023-35351)

A race condition in Windows Active Directory Certificate Services could allow an attacker with CA read access to send a crafted request and achieve remote code execution. By default only domain administrators have that access, and exploitation requires winning a race condition.

k0shl Follow

Originally disclosed on Microsoft

High 6.6 View original

FAQ

How could an attacker exploit this vulnerability? An attacker with Certificate Authority (CA) read access permissions can send a specially crafted request to a vulnerable Certificate Server. By default, only domain administrators are granted CA read access.

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.

Windows Active Directory Certificate Services

Windows Active Directory Certificate Services

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by k0shl with Kunlun Lab. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 how the Certificate Server processes specially crafted requests, allowing unsafe concurrent handling.

What the attacker needed

CA read access permissions; 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.

Active Directory Certificate Services is a Windows role that issues digital certificates. A race condition is a timing flaw where two actions happen at once and the software handles them in the wrong order. Here, someone who can already read certificate authority data might exploit that timing to run their own code on the server, but normally only domain administrators have that read access.

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.

More by k0shl

View all

98 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.