Remote code execution in Microsoft Windows

Published: 2022-05-30 | Updated: 2023-08-04
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-30190
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Windows Server
Operating systems & Components / Operating system

Operating systems & Components / Operating system

Vendor Microsoft

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

Updated: 31.05.2022

Added CVE-ID, updated vulnerability description and affected software, changed bulletin title.

Updated: 14.06.2022

Added information about patch availability.

1) OS Command Injection

EUVDB-ID: #VU63784

Risk: Critical

CVSSv3.1: 8.4 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C]

CVE-ID: CVE-2022-30190

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: Yes


The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing URL within the Microsoft Windows Support Diagnostic Tool (MSDT). A remote unauthenticated attacker can trick the victim to open a specially crafted file, which calls the ms-msdt tool and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, the vulnerability is being actively exploited in the wild.


The vulnerability resides within MSTD and not in Microsoft Word. Microsoft Word is an attack vector and not the source of vulnerability.


Install update from vendor's website.

Vulnerable software versions

Windows Server: 2008 - 2022

Windows: 7 - 11 21H2

External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.