The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-21546

CVE-2023-21546: Windows 10 1607 L2TP RCE Vulnerability

CVE-2023-21546 is a remote code execution vulnerability in Windows Layer 2 Tunneling Protocol affecting Windows 10 1607. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, impact, and mitigation.

Published: January 28, 2026

CVE-2023-21546 Overview

CVE-2023-21546 is a remote code execution vulnerability in the Windows Layer 2 Tunneling Protocol (L2TP) implementation. This vulnerability affects a wide range of Microsoft Windows operating systems, including both client and server editions. The flaw exists within the L2TP network protocol handling, which is commonly used to support Virtual Private Network (VPN) connections.

The vulnerability is characterized by race condition weaknesses (CWE-362) and sensitive data storage issues (CWE-591). Successful exploitation requires an attacker to win a race condition, making the attack complexity high. However, the vulnerability can be exploited remotely over the network without requiring user interaction or prior authentication, potentially allowing an attacker to execute arbitrary code with elevated privileges on affected systems.

Critical Impact

Unauthenticated remote attackers can potentially execute arbitrary code on vulnerable Windows systems by exploiting race conditions in the L2TP protocol handler, leading to complete system compromise.

Affected Products

  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1 and Windows RT 8.1
  • Microsoft Windows 10 (versions 1607, 1809, 20H2, 21H2, 22H2)
  • Microsoft Windows 11 (versions 21H2, 22H2)
  • Microsoft Windows Server 2008 SP2 and R2 SP1
  • Microsoft Windows Server 2012 and 2012 R2
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022

Discovery Timeline

  • January 10, 2023 - CVE-2023-21546 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2023-21546

Vulnerability Analysis

This vulnerability resides in the Windows Layer 2 Tunneling Protocol (L2TP) implementation, a critical component used for VPN connectivity. The flaw involves race condition vulnerabilities (CWE-362) combined with improper handling of sensitive data (CWE-591) within the protocol's processing logic.

The attack requires network access to a vulnerable system with L2TP services exposed. While exploitation does not require authentication or user interaction, the attacker must successfully win a race condition to achieve code execution. This requirement increases the complexity of a successful attack but does not eliminate the risk, particularly in targeted scenarios where multiple exploitation attempts can be made.

If successfully exploited, an attacker could achieve complete compromise of the affected system, with high impact to confidentiality, integrity, and availability. The vulnerability affects systems across x86, x64, and ARM64 architectures, spanning nearly two decades of Windows releases from Windows Server 2008 to Windows 11 22H2.

Root Cause

The root cause of CVE-2023-21546 lies in improper synchronization within the L2TP protocol handling code. The race condition (CWE-362) occurs when concurrent operations access shared resources without proper locking mechanisms, creating a time-of-check to time-of-use (TOCTOU) window that attackers can exploit.

The associated CWE-591 (Sensitive Data Storage in Improperly Locked Memory) indicates that during this race window, sensitive data may be accessed or modified in memory regions that are not adequately protected, enabling an attacker to manipulate protocol state or inject malicious code.

Attack Vector

The attack vector for this vulnerability is network-based, targeting exposed L2TP services on vulnerable Windows systems. An attacker would need to:

  1. Identify a target system with L2TP services accessible over the network
  2. Send specially crafted L2TP packets designed to trigger the race condition
  3. Time the malicious requests to exploit the synchronization gap
  4. Achieve code execution when the race condition is successfully triggered

The vulnerability exploits weaknesses in how the L2TP implementation handles concurrent protocol operations. By carefully timing malicious network packets, an attacker can create conditions where memory is accessed in an unsafe state, leading to arbitrary code execution.

Due to the race condition nature of this vulnerability, no deterministic code example can reliably demonstrate exploitation. Technical details are available in the Microsoft Security Update Guide.

Detection Methods for CVE-2023-21546

Indicators of Compromise

  • Unusual L2TP traffic patterns or malformed L2TP packets targeting UDP port 1701
  • Unexpected crashes or restarts of the Routing and Remote Access Service (RRAS)
  • Anomalous network connections originating from the rasman.dll or rasppp.dll components
  • System event logs showing L2TP-related errors or access violations

Detection Strategies

  • Monitor network traffic for suspicious L2TP protocol activity, particularly high volumes of connection attempts or malformed packets
  • Implement intrusion detection rules to identify potential race condition exploitation attempts against VPN services
  • Deploy endpoint detection and response (EDR) solutions like SentinelOne to detect anomalous process behavior associated with L2TP services
  • Analyze Windows Event Logs for Routing and Remote Access Service errors or unexpected terminations

Monitoring Recommendations

  • Enable verbose logging for the Routing and Remote Access Service to capture detailed connection information
  • Configure network monitoring to alert on unusual L2TP traffic volumes or connection patterns
  • Implement behavioral analysis to detect exploitation attempts that may not match known signatures
  • Regularly review system stability for unexplained crashes that could indicate exploitation attempts

How to Mitigate CVE-2023-21546

Immediate Actions Required

  • Apply the January 2023 Microsoft security updates immediately on all affected Windows systems
  • If patching is not immediately possible, consider disabling L2TP services if not required for business operations
  • Restrict network access to L2TP services using firewall rules to limit exposure
  • Implement network segmentation to isolate systems running L2TP services from critical infrastructure

Patch Information

Microsoft addressed this vulnerability in the January 2023 Patch Tuesday release. Security updates are available for all affected Windows versions through Windows Update, Microsoft Update Catalog, and Windows Server Update Services (WSUS). Organizations should prioritize patching systems that have L2TP services exposed to untrusted networks.

For detailed patch information and download links, refer to the Microsoft Security Update Guide for CVE-2023-21546.

Workarounds

  • Disable L2TP-based VPN services if not actively required for business operations
  • Block UDP port 1701 at network perimeters to prevent external exploitation attempts
  • Migrate to alternative VPN protocols such as IKEv2 or SSTP that are not affected by this vulnerability
  • Implement VPN access only through trusted network segments with additional access controls
bash
# Disable L2TP on Windows (PowerShell - run as Administrator)
# Stop and disable the Routing and Remote Access Service if L2TP is not needed
Stop-Service -Name "RemoteAccess" -Force
Set-Service -Name "RemoteAccess" -StartupType Disabled

# Block L2TP port via Windows Firewall
New-NetFirewallRule -DisplayName "Block L2TP Inbound" -Direction Inbound -Protocol UDP -LocalPort 1701 -Action Block

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.63%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-591

  • CWE-362
  • Technical References
  • Microsoft Security Update CVE-2023-21546
  • Related CVEs
  • CVE-2026-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

  • CVE-2026-25173: Windows RRAS RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English