Skip to content
RCE Advisory Advanced CVE-2022-37989

Microsoft Windows CSRSS Activation Context Cache Poisoning Local Privilege Escalation Vulnerability

A local privilege escalation flaw in the Windows CSRSS process allows an attacker who can already run low-privileged code to send a crafted message that causes an arbitrary DLL to be loaded, leading to code execution as SYSTEM.

Simon Zuckerbraun - Trend Micro Zero Day Initiative Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Microsoft Windows. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Simon Zuckerbraun - Trend Micro Zero Day Initiative, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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, the CSRSS activation context cache does not properly validate or isolate the context data supplied by a low-privileged caller, allowing an attacker to poison the cache and force loading of an arbitrary DLL.

Impact

An attacker could escalate privileges and execute arbitrary code in the context of SYSTEM, but only after first obtaining the ability to execute low-privileged code on the target system.

What the attacker needed

Ability to execute low-privileged code

The fix

Microsoft issued an update to correct this vulnerability.

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.

CSRSS is a core Windows process that runs with high privileges. This bug lets someone who already has a limited account on the machine trick that process into loading a malicious library file (DLL), which then runs with the highest system rights. The attacker must already be able to run some code on the computer first.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Simon Zuckerbraun - Trend Micro Zero Day Initiative

View all

46 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.