Skip to content
Memory corruption Advisory Advanced CVE-2022-22024

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

The Windows Fax Service contained a vulnerability that allowed an attacker to run arbitrary code on a machine, but only when the Fax service was enabled and running. An attacker could achieve this by convincing a user to open a specially crafted file, either sent by email or hosted on a website.

Xuefeng Li 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, 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.

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.

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 Xuefeng Li with Sangfor. 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 run arbitrary code on a vulnerable machine, but only if the Fax service is running and the user opens a crafted file; systems without the service running are not affected.

What the attacker needed

Fax and Scan feature enabled; Fax service running; victim opens a crafted file

The fix

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

How it was found

  1. Check that the Windows Fax and Scan feature is enabled and the Fax service is running.
  2. Send the victim a specially crafted file by email, or host it on a website.
  3. Convince the victim to open the file, which triggers the exploit.

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.

The Windows Fax Service is an optional feature that lets a computer send and receive faxes. A flaw in it meant that a file built to take advantage of it could let an attacker run their own code on the machine. The catch is that the victim has to open that file, and the fax feature has to be switched on in the first place.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Xuefeng Li

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.