Skip to content
RCE Advisory Advanced CVE-2022-26918

Windows Fax Compose Form Remote Code Execution Vulnerability (CVE-2022-26918)

A flaw in the Windows Fax Compose Form allowed a specially crafted contact record to trigger code execution when a user imported it and sent it as a fax. An attacker who convinced a victim to do this could run arbitrary code on the victim's machine, but only where the Fax service was enabled and running.

Communications Security Establishment Follow

Originally disclosed on Microsoft

High 7.8 View original

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 import a specially crafted contact record and then send it a FAX.

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.

Windows Fax Compose Form

Windows Fax Compose Form

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Communications Security Establishment. 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 victim imported the crafted contact and sent it as a fax, and only where the Fax service was enabled and running.

What the attacker needed

Fax service enabled and running; victim imports a crafted contact; victim sends a fax with that contact

The fix

Microsoft issued an update, and users who do not need faxing should remove the Fax service.

How it was found

  1. Enable Windows Fax and Scan and make sure the Fax service is running.
  2. Import a specially crafted contact record.
  3. Send a fax using that contact record, 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.

This is a bug in a built-in Windows feature for sending faxes. If someone sends you a contact file and you import it and then fax it, hidden malicious content in that file can run code on your computer. It only matters if the fax feature is switched on, which it is not by default on modern Windows.

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 Communications Security Establishment

View all

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