Skip to content
RCE Advisory Advanced CVE-2023-36697

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

An authenticated domain user could exploit a flaw in Microsoft Message Queuing to remotely execute code on a target server. The attacker must 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.

wkai Follow

Originally disclosed on Microsoft

Critical 6.8 View original

FAQ

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.

Windows Message Queuing

Windows Message Queuing

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by wkai with Codesafe Team of Legendsec at QI-ANXIN Group. 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 trust or validation weakness in how the MSMQ client handles connections to a server, allowing a malicious server to influence the client.

What the attacker needed

Authenticated domain user; victim connects to malicious server; or attacker compromises MSMQ host

The fix

Microsoft marked customer action as required, so the fix is to apply the vendor's security update.

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.

This is a security flaw in a Windows component that handles messages between programs. An attacker who already has a normal domain account could trick a user's computer into connecting to a server the attacker controls, and from there run their own code on the victim's machine. It is not something an anonymous outsider can do without first getting a domain login.

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 wkai

View all

3 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.