CVE-2023-28302

7.5 HIGH

📋 TL;DR

This vulnerability in Microsoft Message Queuing (MSMQ) allows attackers to cause a denial of service by sending specially crafted packets to the service. Systems running MSMQ with the service enabled are affected. The vulnerability requires network access to the MSMQ service port.

💻 Affected Systems

Products:
  • Microsoft Message Queuing (MSMQ)
Versions: Windows Server 2012 R2 through Windows Server 2022, Windows 10 through Windows 11
Operating Systems: Windows
Default Config Vulnerable: ✅ No
Notes: Only vulnerable if MSMQ service is installed and running. MSMQ is not installed by default on most Windows systems.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete service disruption of MSMQ, potentially affecting dependent applications and causing business process interruptions.

🟠

Likely Case

MSMQ service crashes or becomes unresponsive, requiring manual restart and causing temporary service disruption.

🟢

If Mitigated

Minimal impact with proper network segmentation and monitoring; service may restart automatically depending on configuration.

🌐 Internet-Facing: MEDIUM - Requires direct access to MSMQ port (typically TCP 1801), but many internet-facing systems don't expose MSMQ by default.
🏢 Internal Only: HIGH - Internal systems with MSMQ enabled are vulnerable to network-based attacks from compromised internal hosts.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Exploitation requires network access to MSMQ service but no authentication. The vulnerability is in the protocol handling.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: May 2023 security updates or later

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-28302

Restart Required: Yes

Instructions:

1. Apply May 2023 Windows security updates via Windows Update. 2. For enterprise environments, deploy updates through WSUS or SCCM. 3. Restart affected systems after patch installation.

🔧 Temporary Workarounds

Disable MSMQ Service

windows

Stop and disable the MSMQ service if not required

sc stop MSMQ
sc config MSMQ start= disabled

Block MSMQ Ports

windows

Block network access to MSMQ ports (TCP 1801, UDP 3527, TCP 2103, TCP 2105)

netsh advfirewall firewall add rule name="Block MSMQ" dir=in action=block protocol=TCP localport=1801,2103,2105
netsh advfirewall firewall add rule name="Block MSMQ UDP" dir=in action=block protocol=UDP localport=3527

🧯 If You Can't Patch

  • Implement strict network segmentation to limit access to MSMQ services
  • Monitor MSMQ service health and restart automatically if crashes occur

🔍 How to Verify

Check if Vulnerable:

Check if MSMQ service is running: 'sc query MSMQ' and check Windows version with 'systeminfo'

Check Version:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Verify Fix Applied:

Verify May 2023 updates are installed via 'wmic qfe list' or check Windows Update history

📡 Detection & Monitoring

Log Indicators:

  • MSMQ service crash events in Windows System logs
  • Unexpected MSMQ service restarts

Network Indicators:

  • Unusual traffic patterns to MSMQ ports (TCP 1801)
  • Multiple connection attempts to MSMQ from single source

SIEM Query:

EventID=7031 OR EventID=7034 AND ServiceName="MSMQ" OR destination_port=1801 AND protocol=TCP

🔗 References

📤 Share & Export