Skip to content
RCE Advisory Advanced CVE-2023-21679

Windows Layer 2 Tunneling Protocol (L2TP) Remote Code Execution Vulnerability (CVE-2023-21679)

A remote code execution flaw existed in the Windows Layer 2 Tunneling Protocol (L2TP) implementation on Routing and Remote Access Service (RRAS) servers. An unauthenticated attacker could send a specially crafted protocol message to trigger remote code execution, though exploitation required winning a race condition.

Yuki Chen Follow

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 Layer 2 Tunneling Protocol

Windows Layer 2 Tunneling Protocol

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 memory-safety flaw in how the L2TP protocol handler processes crafted messages, with a race condition required for exploitation.

Impact

An unauthenticated attacker could achieve remote code execution on the RRAS server, but exploitation is complex because it requires winning a race condition.

What the attacker needed

Network access to RRAS server; win a race condition

The fix

Microsoft addressed the vulnerability; the text states customer action is required, implying a patch should be applied.

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 vulnerability in a Windows networking service that lets remote users connect to a network. An attacker who can reach that service could send a malformed network message and, if they get lucky with timing, run their own code on the server. The timing requirement makes it harder to pull off reliably.

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

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.