PatchaPalooza

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

CVE-2023-36583 is a remote code execution vulnerability in Microsoft Message Queuing (MSMQ), rated Important by Microsoft, with a CVSS 3.1 base score of 7.3 (High). An attacker can exploit it by an attacker with local access, with low privileges and only if a user takes an action. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 0.82% probability of exploitation activity in the next 30 days, higher than 57% of all scored vulnerabilities. Microsoft released the fix on 10 October 2023 in the October 2023 Patch Tuesday, delivered through 15 security updates (KB5031361, KB5031364, KB5031358, KB5031356 and more). It affects 33 products in 2 product families (Windows, ESU).

Key facts

CVE ID
CVE-2023-36583
Severity
High CVSS 7.3
Microsoft severity
Important
Impact
Remote Code Execution
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
Less Likely
Weakness
CWE-416
EPSS
0.82% (percentile 57%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
October 2023 Patch Tuesday
Product families
Windows, ESU

CVSS score and vector

Microsoft scores CVE-2023-36583 at 7.3 (temporal 6.4) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

MetricValue
Attack vectorLocal
Attack complexityLow
Privileges requiredLow
User interactionRequired
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Frequently asked questions (Microsoft)

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.

How could an attacker exploit this vulnerability?

Successful exploitation of this vulnerability could allow an authenticated domain user to remotely execute code on the target server. The attacker needs to convince a user on the target machine to connect to a malicious server or compromise a legitimate MSMQ server host and make it run as a malicious server.

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 (33)

Windows

ProductSecurity updateTypeFixed buildRestart
Windows 10 Version 1809 for 32-bit SystemsKB5031361Security Update10.0.17763.4974Yes
Windows 10 Version 1809 for x64-based SystemsKB5031361Security Update10.0.17763.4974Yes
Windows 10 Version 1809 for ARM64-based SystemsKB5031361Security Update10.0.17763.4974Yes
Windows Server 2019KB5031361Security Update10.0.17763.4974Yes
Windows Server 2019 (Server Core installation)KB5031361Security Update10.0.17763.4974Yes
Windows Server 2022KB5031364Security Update10.0.20348.2031Yes
Windows Server 2022 (Server Core installation)KB5031364Security Update10.0.20348.2031Yes
Windows 11 version 21H2 for x64-based SystemsKB5031358Security Update10.0.22000.2538Yes
Windows 11 version 21H2 for ARM64-based SystemsKB5031358Security Update10.0.22000.2538Yes
Windows 10 Version 21H2 for 32-bit SystemsKB5031356Security Update10.0.19041.3570Yes
Windows 10 Version 21H2 for ARM64-based SystemsKB5031356Security Update10.0.19041.3570Yes
Windows 10 Version 21H2 for x64-based SystemsKB5031356Security Update10.0.19041.3570Yes
Windows 11 Version 22H2 for ARM64-based SystemsKB5031354Security Update10.0.22621.2428Yes
Windows 11 Version 22H2 for x64-based SystemsKB5031354Security Update10.0.22621.2428Yes
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 SystemsKB5031377Security Update10.0.10240.20232Yes
Windows 10 for x64-based SystemsKB5031377Security Update10.0.10240.20232Yes
Windows 10 Version 1607 for 32-bit SystemsKB5031362Security Update10.0.14393.6351Yes
Windows 10 Version 1607 for x64-based SystemsKB5031362Security Update10.0.14393.6351Yes
Windows Server 2016KB5031362Security Update10.0.14393.6351Yes
Windows Server 2016 (Server Core installation)KB5031362Security Update10.0.14393.6351Yes

ESU

ProductSecurity updateTypeFixed buildRestart
Windows Server 2008 for 32-bit Systems Service Pack 2KB5031416
KB5031411
Monthly Rollup
Security Only
6.0.6003.22317
6.0.6003.22317
Yes
Yes
Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation)KB5031416
KB5031411
Monthly Rollup
Security Only
6.0.6003.22317
6.0.6003.22317
Yes
Yes
Windows Server 2008 for x64-based Systems Service Pack 2KB5031416
KB5031411
Monthly Rollup
Security Only
6.0.6003.22317
6.0.6003.22317
Yes
Yes
Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation)KB5031416
KB5031411
Monthly Rollup
Security Only
6.0.6003.22317
6.0.6003.22317
Yes
Yes
Windows Server 2008 R2 for x64-based Systems Service Pack 1KB5031408
KB5031441
Monthly Rollup
Security Only
6.1.7601.26769
6.1.7601.26769
Yes
Yes
Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)KB5031408
KB5031441
Monthly Rollup
Security Only
6.1.7601.26769
6.1.7601.26769
Yes
Yes
Windows Server 2012KB5031442
KB5031427
Monthly Rollup
Security Only
6.2.9200.24523
6.2.9200.24523
Yes
Yes
Windows Server 2012 (Server Core installation)KB5031442
KB5031427
Monthly Rollup
Security Only
6.2.9200.24523
6.2.9200.24523
Yes
Yes
Windows Server 2012 R2KB5031419
KB5031407
Monthly Rollup
Security Only
6.3.9600.21620
6.3.9600.21620
Yes
Yes
Windows Server 2012 R2 (Server Core installation)KB5031419
KB5031407
Monthly Rollup
Security Only
6.3.9600.21620
6.3.9600.21620
Yes
Yes

Security updates (15)

NIST NVD data

NVD status
Modified
NVD CVSS
7.3 (HIGH)
NVD weakness
CWE-416
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
windows 10before 10.0.10240.20232
windows 10 1607before 10.0.14393.6351
windows 10 1809before 10.0.17763.4974
windows 10 21h2before 10.0.19041.3570
windows 10 22h2before 10.0.19045.3570
windows 11 21h2 (arm64)before 10.0.22000.2538
windows 11 21h2 (x64)before 10.0.22000.2538
windows 11 22h2 (arm64)before 10.0.22621.2428
windows 11 22h2 (x64)before 10.0.22621.2428
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