Skip to content
RCE Advisory Advanced CVE-2023-21554

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

A flaw in Microsoft Message Queuing allowed an attacker to send a specially crafted packet to a server running the service, which could lead to remote code execution on that server. The text does not give technical details of the underlying defect.

Haifei Li Follow

Originally disclosed on Microsoft

Critical 9.8 View original

FAQ

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.

Windows Message Queuing

Windows Message Queuing

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Haifei Li with Check Point Research. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory-safety or parsing flaw in how the MSMQ service handles incoming packets, but the text does not state the underlying mistake.

Impact

An attacker could achieve remote code execution on the server side, though the text gives no further detail on constraints or defences.

What the attacker needed

Network access to an MSMQ server

The fix

Microsoft marked customer action as required, implying a security update should be applied, but the text does not describe the fix itself.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Message Queuing is a Windows service that lets programs on different machines pass messages to each other. This bug meant that a malformed message sent to that service could let an attacker run their own code on the server. The advisory does not explain what was wrong inside the service.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Haifei Li

View all

4 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.