Windows CNG Key Isolation Service Elevation of Privilege Vulnerability (CVE-2023-35340)
The Windows CNG Key Isolation Service contained a race condition that a low-privilege AppContainer process could exploit to elevate its privileges. A successful attacker could gain SYSTEM privileges.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
FAQ
According to the CVSS metric, successful exploitation could lead to a scope change (S:C). What does this mean for this vulnerability? In this case, a successful attack could be performed from a low privilege AppContainer . The attacker could elevate their privileges and execute code or access resources at a higher integrity level than that of the AppContainer execution environment.
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 CNG Key Isolation Service
Windows CNG Key Isolation Service
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 CNG Key Isolation Service that allows a low-privilege AppContainer process to elevate to SYSTEM.
Impact
An attacker could elevate from a low-privilege AppContainer to SYSTEM privileges, but exploitation is difficult because it requires winning a race condition.
What the attacker needed
Low-privilege AppContainer execution; 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.
Windows runs some programs in a restricted sandbox called an AppContainer, which limits what they can do. This bug let a program inside that sandbox take advantage of a timing flaw in a Windows service and gain full control of the computer. The flaw is a race condition, meaning the attacker has to hit a precise moment for the attack to work.
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.