Skip to content
RCE Advisory Intermediate CVE-2022-22027

Windows Fax Service Remote Code Execution Vulnerability (CVE-2022-22027)

The Windows Fax Service contains a vulnerability that allows an attacker to execute arbitrary code on a victim's machine if the victim opens a specially crafted file. The attacker must convince the user to open the file, for example via email or a website.

TJ Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

In what scenarios is my computer vulnerable? For Windows 11 and Windows 10 the FAX service is not installed by default. For the vulnerability to be exploitable, the Windows Fax and Scan feature needs to be enabled, and the Fax service needs to be running. Systems that do not have the Fax service running are not vulnerable. How can I verify whether the Fax service is running? Hold the Windows key and press R on your keyboard. This will open the Run dialog. Type services.msc and press Enter to open the Services window. Scroll through the list and locate the Fax service. If the Fax service is not listed, Windows Fax and Scan is not enabled and the system is not vulnerable. If the Fax service is listed but the status is not Running , then the system is not vulnerable at the time, but could be targeted if the service was started. The update should be installed as soon as possible or the Fax service should be removed if not needed.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. For example, when the score indicates that the Attack Vector is Local and User Interaction is Required , this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer.

Role: Windows Fax Service

Role: Windows Fax Service

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by TJ with FuzzWorks. 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

Impact

An attacker could execute arbitrary code on the victim's computer, but only if the Fax service is running and the user opens a crafted file.

What the attacker needed

Fax service enabled and running; victim opens a crafted file

The fix

The update should be installed as soon as possible, or the Fax service should be removed if not needed.

How it was found

  1. Ensure the Windows Fax and Scan feature is enabled and the Fax service is running.
  2. The attacker sends a specially crafted file to the victim or hosts it on a website.
  3. The attacker convinces the victim to open the file.
  4. The crafted file triggers the vulnerability and allows code execution.

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 flaw in a Windows feature that sends and receives faxes. If that feature is turned on and running, an attacker can trick you into opening a malicious file, and doing so lets the attacker run their own code on your computer. The attacker cannot do this without your help, because you have to open the file.

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 TJ

View all

1 more disclosed report, 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.