Skip to content
RCE Advisory Intermediate CVE-2022-30168

Microsoft Photos App Remote Code Execution Vulnerability (CVE-2022-30168)

A vulnerability existed in the Microsoft Photos app that allowed an attacker to achieve arbitrary code execution. The attacker had to convince a victim to download and open a specially crafted file, so the attack was carried out locally despite the 'remote code execution' title.

ShiLongan 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

How do I get the update for a Windows App? The Microsoft Store will automatically update affected customers. 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. You can get the update through the store by following this guide: Get updates for apps and games in Microsoft Store . Be sure to select the tab for the operating system installed on your device to search for updates.

FAQ

How can I check if the update is installed? App versions 2022.30050.31008.0 and later contain this update.

Windows App Store

Windows App Store

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by ShiLongan with NSFOCUS TIANJI 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 the Photos app failed to properly validate or safely handle a specially crafted file, allowing code to run when it was opened.

Impact

An attacker could run arbitrary code on the victim's machine, but only after the victim downloaded and opened a crafted file, so user interaction was required.

What the attacker needed

Victim downloads a crafted file; victim opens the file in Photos

The fix

The issue was fixed in Microsoft Photos app versions 2022.30050.31008.0 and later, delivered through the Microsoft Store.

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 the Microsoft Photos app that let a bad file run harmful code on a person's computer. The attacker cannot do it from afar on their own; they must trick someone into downloading and opening the file. Once opened, the code runs with that person's permissions.

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 ShiLongan

View all

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