PatchaPalooza

CVE-2023-21554: Microsoft Message Queuing (MSMQ) Remote Code Execution Vulnerability

CVE-2023-21554 is a remote code execution vulnerability in Microsoft Message Queuing (MSMQ), rated Critical by Microsoft, with a CVSS 3.1 base score of 9.8 (Critical). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as more likely. The EPSS model estimates a 53.28% probability of exploitation activity in the next 30 days, higher than 99% of all scored vulnerabilities. Microsoft released the fix on 11 April 2023 in the April 2023 Patch Tuesday, delivered through 15 security updates (KB5025229, KB5025230, KB5025221, KB5025224 and more). It affects 35 products in 2 product families (Windows, ESU).

Key facts

CVE ID
CVE-2023-21554
Severity
Critical CVSS 9.8
Microsoft severity
Critical
Impact
Remote Code Execution
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
More Likely
Weakness
CWE-20
EPSS
53.28% (percentile 99%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
April 2023 Patch Tuesday
Product families
Windows, ESU

CVSS score and vector

Microsoft scores CVE-2023-21554 at 9.8 (temporal 8.5) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

MetricValue
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Frequently asked questions (Microsoft)

How could an attacker exploit the vulnerability?

To exploit this vulnerability, an attacker would need to send a specially crafted malicious MSMQ packet to a MSMQ server. This could result in remote code execution on the server side.

Mitigations and workarounds

Mitigation refers to a setting, common configuration, or general best-practice, existing in a default state, that could reduce the severity of exploitation of a vulnerability. The following mitigating factors might be helpful in your situation:

The Windows message queuing service, which is a Windows component, needs to be enabled for a system to be exploitable by this vulnerability. This feature can be added via the Control Panel.

You can check to see if there is a service running named Message Queuing and TCP port 1801 is listening on the machine.

Affected products (35)

Windows

ProductSecurity updateTypeFixed buildRestart
Windows 10 Version 1809 for 32-bit SystemsKB5025229Security Update10.0.17763.4252Yes
Windows 10 Version 1809 for x64-based SystemsKB5025229Security Update10.0.17763.4252Yes
Windows 10 Version 1809 for ARM64-based SystemsKB5025229Security Update10.0.17763.4252Yes
Windows Server 2019KB5025229Security Update10.0.17763.4252Yes
Windows Server 2019 (Server Core installation)KB5025229Security Update10.0.17763.4252Yes
Windows Server 2022KB5025230Security Update10.0.20348.1668Yes
Windows Server 2022 (Server Core installation)KB5025230Security Update10.0.20348.1668Yes
Windows 10 Version 20H2 for 32-bit SystemsKB5025221Security Update10.0.19042.2846Yes
Windows 10 Version 20H2 for ARM64-based SystemsKB5025221Security Update10.0.19042.2846Yes
Windows 11 version 21H2 for x64-based SystemsKB5025224Security Update10.0.22000.1817Yes
Windows 11 version 21H2 for ARM64-based SystemsKB5025224Security Update10.0.22000.1817Yes
Windows 10 Version 21H2 for 32-bit Systems
Windows 10 Version 21H2 for ARM64-based Systems
Windows 10 Version 21H2 for x64-based Systems
Windows 11 Version 22H2 for ARM64-based SystemsKB5025239Security Update10.0.22621.1555Yes
Windows 11 Version 22H2 for x64-based SystemsKB5025239Security Update10.0.22621.1555Yes
Windows 10 Version 22H2 for x64-based Systems
Windows 10 Version 22H2 for ARM64-based Systems
Windows 10 Version 22H2 for 32-bit Systems
Windows 10 for 32-bit SystemsKB5025234Security Update10.0.10240.19869Yes
Windows 10 for x64-based SystemsKB5025234Security Update10.0.10240.19869Yes
Windows 10 Version 1607 for 32-bit SystemsKB5025228Security Update10.0.14393.5850Yes
Windows 10 Version 1607 for x64-based SystemsKB5025228Security Update10.0.14393.5850Yes
Windows Server 2016KB5025228Security Update10.0.14393.5850Yes
Windows Server 2016 (Server Core installation)KB5025228Security Update10.0.14393.5850Yes

ESU

ProductSecurity updateTypeFixed buildRestart
Windows Server 2008 for 32-bit Systems Service Pack 2KB5025271
KB5025273
Monthly Rollup
Security Only
6.0.6003.22015
6.0.6003.22015
Yes
Yes
Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)KB5025271
KB5025273
Monthly Rollup
Security Only
6.0.6003.22015
6.0.6003.22015
Yes
Yes
Windows Server 2008 for x64-based Systems Service Pack 2KB5025271
KB5025273
Monthly Rollup
Security Only
6.0.6003.22015
6.0.6003.22015
Yes
Yes
Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)KB5025271
KB5025273
Monthly Rollup
Security Only
6.0.6003.22015
6.0.6003.22015
Yes
Yes
Windows Server 2008 R2 for x64-based Systems Service Pack 1KB5025279
KB5025277
Monthly Rollup
Security Only
6.1.7601.26466
6.1.7601.26466
Yes
Yes
Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)KB5025279
KB5025277
Monthly Rollup
Security Only
6.1.7601.26466
6.1.7601.26466
Yes
Yes
Windows Server 2012KB5025287
KB5025272
Monthly Rollup
Security Only
6.2.9200.24216
6.2.9200.24216
Yes
Yes
Windows Server 2012 (Server Core installation)KB5025287
KB5025272
Monthly Rollup
Security Only
6.2.9200.24216
6.2.9200.24216
Yes
Yes
Windows Server 2012 R2KB5025285
KB5025288
Monthly Rollup
Security Only
6.3.9600.20919
6.3.9600.20919
Yes
Yes
Windows Server 2012 R2 (Server Core installation)KB5025285
KB5025288
Monthly Rollup
Security Only
6.3.9600.20919
6.3.9600.20919
Yes
Yes

Security updates (15)

Exploitation and detection

Detection and weaponization

Weaponization maturity: Detection.

Sigma rules (1)

Metasploit modules (1)

  • auxiliary_scanner/msmq/cve_2023_21554_queuejumper

Proof-of-concept repositories (6)

NIST NVD data

NVD status
Modified
NVD CVSS
9.8 (CRITICAL)
NVD weakness
CWE-20
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
windows 10 1607before 10.0.14393.5850
windows 10 1809before 10.0.17763.4252
windows 10 20h2before 10.0.19042.2846
windows 10 21h2before 10.0.19044.2846
windows 10 22h2before 10.0.19045.2846
windows 11 21h2before 10.0.22000.1817
windows 11 22h2before 10.0.22621.1555
windows server 2008all listed versions
windows server 2008 r2 (x64)all listed versions
windows server 2012all listed versions
windows server 2012 r2all listed versions
windows server 2016all listed versions
windows server 2019all listed versions
windows server 2022all listed versions

References

Acknowledgments

Revision history

VersionDateDescription
1.0Information published.

Sources