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

Windows Secure Socket Tunneling Protocol (SSTP) Remote Code Execution Vulnerability (CVE-2022-44670)

A flaw in the Windows Secure Socket Tunneling Protocol handling on a Routing and Remote Access Service server could let an unauthenticated attacker send a crafted protocol message and achieve remote code execution. Exploitation is difficult because the attacker must win a race condition.

Yuki Chen Follow with MEng351

Originally disclosed on Microsoft

Critical 8.1 View original

FAQ

How could an attacker exploit this vulnerability? An unauthenticated attacker could send a specially crafted protocol message to a Routing and Remote Access Service (RRAS) server, which could lead to remote code execution (RCE) on the RAS server machine.

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 Secure Socket Tunneling Protocol (SSTP)

Windows Secure Socket Tunneling Protocol (SSTP)

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuki Chen with Cyber KunLun. 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 the SSTP service processes protocol messages, allowing memory to be used unsafely during concurrent handling.

Impact

An unauthenticated attacker could achieve remote code execution on the RRAS server, though only if they win a race condition, so exploitation is unreliable.

What the attacker needed

Network access to an RRAS server; no authentication needed; winning a race condition

The fix

Microsoft addressed the vulnerability in a security update, and customers were told to apply it.

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 bug in a Windows service that accepts incoming VPN-style connections. A remote attacker who has not logged in could send a malformed message and, if timing works out, run their own code on the server. The catch is that the attacker has to win a race, meaning two things must happen in a very specific order at the right moment, 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 Yuki Chen

View all

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