Skip to content
RCE Advisory Advanced CVE-2022-30145

Windows Encrypting File System (EFS) Remote Code Execution Vulnerability (CVE-2022-30145)

A remote code execution flaw exists in the Windows Encrypting File System (EFS) when an attacker sends a specially crafted malicious request to a share with EFS enabled. An attacker with low privileges could exploit this to execute code, but only after preparing the target environment to improve exploit reliability.

Azure Yang Follow

Originally disclosed on Microsoft

High 7.5 View original

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 prepare the target environment to improve exploit reliability.

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? To exploit this vulnerability the attacker would need to have been granted permissions to the vulnerable share with EFS enabled to which they send a specially crafted malicious request.

Windows Encrypting File System (EFS)

Windows Encrypting File System (EFS)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Azure Yang 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 memory-safety or input-validation error in how Windows EFS handles specially crafted requests sent to an EFS-enabled share.

What the attacker needed

Permissions to an EFS-enabled share; attacker prepares target environment

The fix

Microsoft marked customer action as required, indicating a security update should be applied.

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.

This is a security flaw in a Windows feature called Encrypting File System, which protects files by encrypting them. An attacker who already has some access to a shared folder could send a malicious request to it and potentially run their own code on the machine. The attack is hard to pull off because the attacker must first set up the target environment in a specific way.

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 Azure Yang

View all

78 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.

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.