Skip to content
Race condition Advisory Advanced CVE-2022-24504

Windows Point-to-Point Tunneling Protocol Remote Code Execution Vulnerability (CVE-2022-24504)

A flaw in Windows' Point-to-Point Tunneling Protocol handling meant a specially crafted PPTP packet sent to a PPTP server could lead to remote code execution on that server. Exploiting it required winning a race condition, which the advisory rates as high attack complexity.

b2ahex Follow

Originally disclosed on Microsoft

Critical 8.1 View original

FAQ

How could an attacker exploit the vulnerability? To exploit this vulnerability, an attacker would need to send a specially crafted malicious PPTP packet to a PPTP server. This could result in remote code execution on the server side.

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.

Windows Point-to-Point Tunneling Protocol

Windows Point-to-Point Tunneling Protocol

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by b2ahex. 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 how Windows handles incoming PPTP packets, allowing memory to be used unsafely during concurrent processing.

Impact

An attacker who wins the race could achieve remote code execution on the PPTP server, though the high complexity means success is not guaranteed.

What the attacker needed

Target runs a PPTP server; attacker can send packets to it; attacker wins a race condition

The fix

Microsoft marked customer action as required, meaning the fix is a security update that should be installed.

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.

PPTP is an old way of building a private network tunnel between computers. This bug meant that a malformed message sent to a machine acting as a PPTP server could let an attacker run their own code on it. The catch is that the attacker has to get the timing exactly right, which makes it hard to pull off reliably.

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 b2ahex

View all

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