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
| Metric | Value |
|---|---|
| Attack vector | Local |
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | Required |
| Scope | Unchanged |
| Confidentiality impact | High |
| Integrity impact | High |
| Availability impact | High |
| Exploit code maturity | Unproven |
| Remediation level | Official fix |
| Report confidence | Confirmed |
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
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows 10 Version 1809 for 32-bit Systems | KB5031361 | Security Update | 10.0.17763.4974 | Yes |
| Windows 10 Version 1809 for x64-based Systems | KB5031361 | Security Update | 10.0.17763.4974 | Yes |
| Windows 10 Version 1809 for ARM64-based Systems | KB5031361 | Security Update | 10.0.17763.4974 | Yes |
| Windows Server 2019 | KB5031361 | Security Update | 10.0.17763.4974 | Yes |
| Windows Server 2019 (Server Core installation) | KB5031361 | Security Update | 10.0.17763.4974 | Yes |
| Windows Server 2022 | KB5031364 | Security Update | 10.0.20348.2031 | Yes |
| Windows Server 2022 (Server Core installation) | KB5031364 | Security Update | 10.0.20348.2031 | Yes |
| Windows 11 version 21H2 for x64-based Systems | KB5031358 | Security Update | 10.0.22000.2538 | Yes |
| Windows 11 version 21H2 for ARM64-based Systems | KB5031358 | Security Update | 10.0.22000.2538 | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | KB5031356 | Security Update | 10.0.19041.3570 | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | KB5031356 | Security Update | 10.0.19041.3570 | Yes |
| Windows 10 Version 21H2 for x64-based Systems | KB5031356 | Security Update | 10.0.19041.3570 | Yes |
| Windows 11 Version 22H2 for ARM64-based Systems | KB5031354 | Security Update | 10.0.22621.2428 | Yes |
| Windows 11 Version 22H2 for x64-based Systems | KB5031354 | Security Update | 10.0.22621.2428 | Yes |
| 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 Systems | KB5031377 | Security Update | 10.0.10240.20232 | Yes |
| Windows 10 for x64-based Systems | KB5031377 | Security Update | 10.0.10240.20232 | Yes |
| Windows 10 Version 1607 for 32-bit Systems | KB5031362 | Security Update | 10.0.14393.6351 | Yes |
| Windows 10 Version 1607 for x64-based Systems | KB5031362 | Security Update | 10.0.14393.6351 | Yes |
| Windows Server 2016 | KB5031362 | Security Update | 10.0.14393.6351 | Yes |
| Windows Server 2016 (Server Core installation) | KB5031362 | Security Update | 10.0.14393.6351 | Yes |
ESU
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| Windows Server 2008 for 32-bit Systems Service Pack 2 | KB5031416 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 2 | 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 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 1 | KB5031408 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 2012 | KB5031442 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 R2 | KB5031419 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)
- KB5031361 (Security Update)
- KB5031364 (Security Update)
- KB5031358 (Security Update)
- KB5031356 (Security Update)
- KB5031354 (Security Update)
- KB5031377 (Security Update)
- KB5031362 (Security Update)
- KB5031416 (Monthly Rollup)
- KB5031411 (Security Only)
- KB5031408 (Monthly Rollup)
- KB5031441 (Security Only)
- KB5031442 (Monthly Rollup)
- KB5031427 (Security Only)
- KB5031419 (Monthly Rollup)
- KB5031407 (Security Only)
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 7.3 (HIGH)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| windows 10 | before 10.0.10240.20232 |
| windows 10 1607 | before 10.0.14393.6351 |
| windows 10 1809 | before 10.0.17763.4974 |
| windows 10 21h2 | before 10.0.19041.3570 |
| windows 10 22h2 | before 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 2008 | all listed versions |
| windows server 2008 r2 (x64) | all listed versions |
| windows server 2012 | all listed versions |
| windows server 2012 r2 | all listed versions |
| windows server 2016 | all listed versions |
| windows server 2019 | all listed versions |
| windows server 2022 | all listed versions |
References
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36583 (Patch, Vendor Advisory)
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-36583 (Patch, Vendor Advisory)
Acknowledgments
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. |