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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-41774

CVE-2023-41774: Windows 10 1507 L2TP RCE Vulnerability

CVE-2023-41774 is a remote code execution vulnerability in the Layer 2 Tunneling Protocol on Windows 10 1507 that allows attackers to execute arbitrary code. This article covers technical details, affected systems, and mitigation.

Published: February 4, 2026

CVE-2023-41774 Overview

CVE-2023-41774 is a Remote Code Execution vulnerability affecting the Layer 2 Tunneling Protocol (L2TP) implementation in Microsoft Windows operating systems. This vulnerability allows an unauthenticated attacker to send specially crafted network packets to a vulnerable system, potentially resulting in arbitrary code execution in the context of the affected service.

The vulnerability stems from a combination of a race condition (CWE-362) and a use-after-free condition (CWE-416) in the L2TP protocol handler. When exploited successfully, an attacker could gain complete control over the targeted system without requiring any user interaction or authentication.

Critical Impact

Successful exploitation allows remote attackers to execute arbitrary code on vulnerable Windows systems through the L2TP network protocol, potentially leading to full system compromise without user interaction.

Affected Products

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

Discovery Timeline

  • 2023-10-10 - CVE-2023-41774 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-41774

Vulnerability Analysis

This vulnerability exists in the Windows implementation of the Layer 2 Tunneling Protocol (L2TP), a networking protocol used to support virtual private networks (VPNs). The flaw involves memory management issues within the L2TP protocol handler that can be triggered through network-based attacks.

The vulnerability is characterized by two distinct weaknesses working in combination. A race condition allows an attacker to manipulate the timing of operations within the L2TP handler, creating a window of opportunity. This timing manipulation leads to a use-after-free condition where the code attempts to reference memory that has already been freed, potentially allowing the attacker to control program execution.

The attack can be executed remotely over the network without requiring any user privileges or interaction, though successful exploitation does require the attacker to win the race condition. Systems with L2TP services enabled or accessible are at risk, particularly those configured as VPN servers or endpoints.

Root Cause

The root cause of CVE-2023-41774 involves improper synchronization in the L2TP protocol handling code, leading to a race condition (CWE-362). When this race condition is triggered, it creates a use-after-free scenario (CWE-416) where memory that has been deallocated is subsequently referenced. This class of vulnerability occurs when multiple operations on shared resources are not properly synchronized, allowing attackers to manipulate program state between the check and use of a resource.

Attack Vector

The attack is conducted over the network (AV:N) and targets the L2TP service listening on UDP port 1701. An attacker would craft malicious L2TP packets designed to trigger the race condition in the protocol handler. The attack requires no authentication or user interaction, making it particularly dangerous for exposed systems.

The complexity of the attack is considered high (AC:H) due to the timing precision required to exploit the race condition successfully. The attacker must send packets with specific timing to trigger the use-after-free condition during the vulnerable window. Once the race is won, the attacker can potentially achieve arbitrary code execution with the privileges of the affected service.

Due to the nature of this vulnerability involving precise timing and race conditions, exploitation details are not provided in prose form to prevent abuse. Organizations should refer to the Microsoft Security Advisory for detailed technical information about the vulnerability mechanism.

Detection Methods for CVE-2023-41774

Indicators of Compromise

  • Anomalous L2TP traffic patterns or malformed L2TP control messages on UDP port 1701
  • Unexpected crashes or restarts of Windows services related to VPN or tunneling protocols
  • Memory access violations or crash dumps related to raspptp.sys or raspppoe.sys drivers
  • Unusual outbound connections following L2TP service activity indicating potential post-exploitation

Detection Strategies

  • Implement network intrusion detection rules to identify malformed or suspicious L2TP packets
  • Monitor Windows Event Logs for service crashes or unexpected restarts related to Routing and Remote Access services
  • Deploy endpoint detection and response (EDR) solutions capable of detecting use-after-free exploitation attempts
  • Enable crash dump collection and analysis for L2TP-related services to identify exploitation attempts

Monitoring Recommendations

  • Configure SIEM rules to alert on abnormal L2TP traffic volumes or connection patterns
  • Monitor for application crashes in services handling L2TP protocols using Windows Error Reporting
  • Implement network traffic analysis to baseline normal L2TP behavior and detect anomalies
  • Enable detailed logging for Remote Access services to capture potential exploitation attempts

How to Mitigate CVE-2023-41774

Immediate Actions Required

  • Apply the October 2023 Microsoft security updates immediately to all affected Windows systems
  • If patching is not immediately possible, consider disabling L2TP services on systems where they are not required
  • Restrict network access to L2TP services (UDP port 1701) using firewall rules to trusted networks only
  • Prioritize patching for systems configured as VPN servers or those with L2TP services exposed to untrusted networks

Patch Information

Microsoft has released security updates addressing this vulnerability as part of the October 2023 Patch Tuesday release. The patches are available through Windows Update, Microsoft Update Catalog, and Windows Server Update Services (WSUS). Organizations should prioritize applying these updates to systems running the Routing and Remote Access Service (RRAS) or any VPN-related functionality.

Detailed patch information and download links are available in the Microsoft Security Response Center advisory for CVE-2023-41774.

Workarounds

  • Disable the Routing and Remote Access Service (RRAS) if L2TP VPN functionality is not required
  • Block UDP port 1701 at the network perimeter if L2TP is not needed for external connections
  • Implement network segmentation to limit exposure of systems running L2TP services
  • Consider migrating to alternative VPN protocols such as IKEv2 or WireGuard where feasible
bash
# Disable Routing and Remote Access Service if not needed
sc config RemoteAccess start= disabled
net stop RemoteAccess

# Block L2TP port via Windows Firewall (if L2TP not required)
netsh advfirewall firewall add rule name="Block L2TP Inbound" dir=in action=block protocol=udp localport=1701

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft

  • SeverityHIGH

  • CVSS Score8.1

  • EPSS Probability0.22%

  • 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-416

  • CWE-362
  • Vendor Resources
  • Microsoft Vulnerability Summary CVE-2023-41774
  • Related CVEs
  • CVE-2026-32191: Microsoft Bing Images RCE Vulnerability

  • CVE-2026-21536: Microsoft Devices Pricing RCE Vulnerability

  • CVE-2026-27848: MR9600/MX4200 RCE Vulnerability

  • CVE-2021-24105: Package Manager Configurations RCE Flaw
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