Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability (CVE-2022-30190)
A remote code execution flaw exists when the Windows Support Diagnostic Tool is invoked through a URL protocol from an application such as Word. An attacker who convinces a victim to open a crafted file could run arbitrary code with the victim's privileges.
Description
A remote code execution vulnerability exists when MSDT is called using the URL protocol from a calling application such as Word. An attacker who successfully exploits this vulnerability can run arbitrary code with the privileges of the calling application. The attacker can then install programs, view, change, or delete data, or create new accounts in the context allowed by the user’s rights. Please see the MSRC Blog Entry for important information about steps you can take to protect your system from this vulnerability.
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
Is there an update available to address this vulnerability? Yes, the updates are available. Microsoft recommends installing the June updates as soon as possible. Where can I find more information? Please see this MSRC Blog Entry .
Microsoft Windows Support Diagnostic Tool (MSDT)
Microsoft Windows Support Diagnostic Tool (MSDT)
Microsoft
Microsoft
Customer Action Required
Yes
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 URL protocol handler allowed a calling application to pass attacker-controlled arguments to MSDT, which then executed them without adequate validation.
Impact
An attacker could install programs, view, change or delete data, or create accounts within the limits of the victim's user rights; the text notes the attack is carried out locally and requires user interaction.
What the attacker needed
Victim opens a crafted file; social engineering of the victim
The fix
Microsoft released updates and recommends installing the June updates as soon as possible.
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.
Windows has a built-in troubleshooting helper called MSDT that other programs can launch by passing it a special link. If a document tricks that helper into running attacker-supplied instructions, the attacker's code runs on the victim's computer with the same rights the victim has. The victim has to be persuaded to open a malicious file, so social engineering is part of the attack.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.