Skip to content
RCE Advisory Intermediate CVE-2022-38011

Raw Image Extension Remote Code Execution Vulnerability (CVE-2022-38011)

A flaw in the Microsoft Raw Image Extension for Windows could let an attacker run arbitrary code on a victim's machine. The attacker must first persuade the victim to download and open a specially crafted file, so the attack is carried out locally despite the 'remote' label.

z0mbie Follow

Originally disclosed on Microsoft

High 7.3 View original

FAQ

How do I get the updated app? The Microsoft Store will automatically update affected customers. Alternatively, customers can get the update immediately; see here for details. My system is in a disconnected environment; is it vulnerable? It is possible for customers to disable automatic updates for the Microsoft Store. The Microsoft Store will not automatically install this update for those customers. VLSC customers can visit the Volume Licensing Servicing Center to get the update https://www.microsoft.com/Licensing/servicecenter/ . Customers using the Microsoft Store for Business and Microsoft Store for Education can get this update through their organizations.

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

What version of the Raw Image Extension is secure? For all supported versions of Windows 10 and Windows 11 operating systems the secure version is v2.0.32061.0 and later. How can I check if the update is installed? You can check the package version in PowerShell: Get-AppxPackage Microsoft.RawImageExtension

Microsoft Windows Codecs Library

Microsoft Windows Codecs Library

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by z0mbie. 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 the extension mishandled specially crafted raw image files, allowing code execution when one was opened.

Impact

An attacker who convinces a victim to open a crafted file could run arbitrary code locally on that machine; the text gives no further detail on what that code could reach.

What the attacker needed

Victim downloads a crafted file; victim opens the file; social engineering to convince victim

The fix

The issue was fixed by updating the Raw Image Extension to version 2.0.32061.0 or later, which the Microsoft Store installs automatically unless updates are disabled.

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 notice about a Windows add-on that lets you view raw camera image files. A bug in how it handled certain files meant that a booby-trapped image could make the computer run the attacker's code. The catch is that the victim has to be tricked into downloading and opening that file, so it is not something that happens on its own.

What is RCE?

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

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.