Skip to content
Race condition Advisory Advanced CVE-2024-49122

Microsoft Message Queuing (MSMQ) Remote Code Execution Vulnerability (CVE-2024-49122)

A remote code execution vulnerability exists in Microsoft Message Queuing (MSMQ) where an attacker can send a specially crafted malicious MSMQ packet to a server. Successful exploitation requires winning a race condition and could result in remote code execution on the server side.

Azure Yang Follow

Originally disclosed on Microsoft

Critical 8.1 View original

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.

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 Azure Yang with Kunlun Lab. 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 race condition in MSMQ packet handling that allows memory corruption or logic bypass leading to code execution.

Impact

An attacker could achieve remote code execution on the server, but only if they win a race condition, which makes exploitation complex.

What the attacker needed

Network access to MSMQ service; win a race condition

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 flaw in a Windows service that lets programs send messages to each other. An attacker who can send a special message to that service might be able to run their own code on the server, but they have to win a timing race, which makes it harder.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Azure Yang

View all

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

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.