CVE-2024-38214 Overview
CVE-2024-38214 is an information disclosure vulnerability in the Windows Routing and Remote Access Service (RRAS). Microsoft disclosed the flaw as part of its August 2024 security update cycle. The issue affects multiple Windows Server editions ranging from Windows Server 2008 through Windows Server 2022 23H2. An unauthenticated attacker over the network can trigger the flaw when a targeted user performs a required interaction, potentially exposing sensitive memory contents from the RRAS process. The vulnerability is tracked under [CWE-125] (Out-of-Bounds Read).
Critical Impact
Successful exploitation may allow an attacker to disclose confidential memory contents from a server running the Routing and Remote Access Service, aiding follow-on attacks against enterprise networks.
Affected Products
- Microsoft Windows Server 2008 SP2 and Server 2008 R2 SP1
- Microsoft Windows Server 2012 and Server 2012 R2
- Microsoft Windows Server 2016, Server 2019, Server 2022, and Server 2022 23H2
Discovery Timeline
- 2024-08-13 - CVE-2024-38214 published to NVD alongside Microsoft's August 2024 Patch Tuesday release
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-38214
Vulnerability Analysis
The vulnerability resides in the Windows Routing and Remote Access Service (RRAS), a Windows Server role that provides routing, VPN, and dial-up connectivity. The flaw is categorized as an out-of-bounds read [CWE-125], where the service reads memory outside the intended buffer boundaries while processing attacker-influenced input. Because RRAS handles network protocol data on behalf of the operating system, a read beyond a validated buffer can surface adjacent process memory to the requestor. The confidentiality impact is high, while integrity and availability are not affected. Exploitation requires user interaction, which typically maps to an administrator or user initiating a connection or opening attacker-supplied content that reaches the vulnerable RRAS code path.
Root Cause
The root cause is missing or insufficient bounds checking in an RRAS parsing routine. When a crafted network message is processed, the service reads past the end of a buffer and returns those bytes to the caller or exposes them in subsequent responses. Memory disclosed this way can include pointers, session data, credentials, or protocol state useful for building a subsequent exploit chain.
Attack Vector
The attack originates over the network and does not require prior authentication, but the target user must perform an action for exploitation to succeed. A common scenario is convincing a privileged user to connect to an attacker-controlled endpoint or to process crafted routing data. Servers exposing RRAS interfaces to untrusted networks materially increase the exposure profile. No public proof-of-concept is available at time of writing, and CISA has not added the CVE to the Known Exploited Vulnerabilities catalog.
No verified exploit code is available for this CVE. Refer to the Microsoft Security Update for CVE-2024-38214 for authoritative technical guidance.
Detection Methods for CVE-2024-38214
Indicators of Compromise
- Unexpected inbound connections to RRAS listeners on TCP/UDP ports associated with PPTP (1723), L2TP (1701), SSTP (443), or IKE (500/4500) from untrusted networks.
- Anomalous RRAS process (svchost.exe hosting RemoteAccess) memory reads, crashes, or spikes in error events in the System and RemoteAccess event logs.
- Outbound VPN or routing configuration changes on affected Windows Server hosts that were not initiated through change control.
Detection Strategies
- Inventory all Windows Server hosts with the Routing and Remote Access role enabled and confirm patch level against Microsoft's August 2024 update.
- Correlate authentication logs, RRAS connection logs, and network flow data to identify sessions from unexpected geographies or ASN ranges.
- Alert on repeated malformed protocol messages destined for RRAS interfaces, which may indicate probing for the out-of-bounds read.
Monitoring Recommendations
- Forward Windows Security, System, and RemoteAccess-Management event logs to a centralized SIEM for longitudinal analysis.
- Enable network telemetry on VPN edge devices and internal segments where RRAS is deployed, including full flow metadata.
- Baseline normal RRAS session volumes and alert on statistical deviations that could indicate memory-disclosure scanning.
How to Mitigate CVE-2024-38214
Immediate Actions Required
- Apply the August 2024 Microsoft security updates to every affected Windows Server edition running the RRAS role.
- Restrict RRAS network exposure to trusted segments and enforce firewall rules that block untrusted inbound access to VPN and routing ports.
- Audit privileged users who administer RRAS and enforce phishing-resistant multifactor authentication on their accounts.
Patch Information
Microsoft addressed CVE-2024-38214 in the August 2024 Patch Tuesday release. Full remediation details, including build numbers per affected product, are documented in the Microsoft Security Update for CVE-2024-38214. Administrators should validate that the corresponding KB has been installed and the host has been rebooted before treating the system as remediated.
Workarounds
- Disable the Routing and Remote Access role on servers where VPN or routing functionality is not required.
- Terminate VPN and remote-access connectivity at a hardened gateway appliance instead of directly on Windows Server RRAS where feasible.
- Enforce network segmentation and least-privilege firewall policies around any remaining RRAS deployments until patching is complete.
# Configuration example: disable the RemoteAccess service on hosts that do not require RRAS
Set-Service -Name RemoteAccess -StartupType Disabled
Stop-Service -Name RemoteAccess -Force
# Verify current state
Get-Service -Name RemoteAccess
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

