Paint 3D Remote Code Execution Vulnerability (CVE-2021-31945)
A vulnerability in Paint 3D allowed an attacker to execute arbitrary code when a user opened a specially crafted file. The attacker could exploit this by sending the file via email or hosting it on a website and convincing the user to open it.
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. 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. My system is in a disconnected environment; is it vulnerable? Customers using the Microsoft Store for Business and Microsoft Store for Education can get this update through their organizations. How can I check if the update is installed? App package versions 6.2105.4017.0 and later contain this update. You can check the package version in PowerShell: Get-AppxPackage -Name Microsoft.MSPaint
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.
Paint 3D
Paint 3D
Microsoft
Microsoft
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 machine, but only if the user opens a malicious file.
What the attacker needed
Victim opens a malicious file; attacker convinces victim to open file
The fix
The vulnerability was fixed in Paint 3D app package version 6.2105.4017.0 and later, delivered via 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 remote code execution bug in Microsoft Paint 3D. If you open a malicious file, the attacker can run their own code on your computer. The attacker has to trick you into opening the file, for example by sending it as an email attachment or linking to it on a website.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.