CVE-2024-30029 Overview
CVE-2024-30029 is a remote code execution vulnerability in the Windows Routing and Remote Access Service (RRAS). The flaw affects a wide range of Microsoft Windows client and server operating systems, from Windows 10 1507 through Windows 11 23H2, and Windows Server 2008 through Windows Server 2022 23H2. The weakness is classified under [CWE-197] (Numeric Truncation Error) and can lead to compromise of confidentiality, integrity, and availability on affected systems. Microsoft published the advisory on May 14, 2024 as part of its monthly security update cycle.
Critical Impact
Successful exploitation allows an unauthenticated attacker to execute arbitrary code on a vulnerable host running RRAS, granting full control of confidentiality, integrity, and availability.
Affected Products
- Microsoft Windows 10 (1507, 1607, 1809, 21H2, 22H2)
- Microsoft Windows 11 (21H2, 22H2, 23H2)
- Microsoft Windows Server 2008, 2012, 2012 R2, 2016, 2019, 2022, and Server 2022 23H2
Discovery Timeline
- 2024-05-14 - CVE-2024-30029 published to NVD by Microsoft
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-30029
Vulnerability Analysis
The vulnerability resides in the Routing and Remote Access Service (RRAS), a Windows server role that provides routing, dial-up, and VPN connectivity. RRAS exposes network-reachable interfaces that process attacker-controlled protocol data. The flaw is rooted in a numeric truncation error ([CWE-197]) during the handling of these inputs.
When RRAS processes a crafted request, an integer value is truncated to a smaller type, producing an incorrect size or length. The mismatched value is then used in subsequent memory operations, leading to memory corruption that an attacker can shape into arbitrary code execution. Exploitation requires user interaction and has high attack complexity, which reflects the conditions an attacker must arrange to reach the vulnerable code path reliably.
Root Cause
The root cause is a numeric truncation error in RRAS request parsing. A value of larger width is converted to a smaller integer type without bounds validation. The truncated value influences buffer or length calculations, breaking the assumption that downstream code relies on for safe memory access.
Attack Vector
The attack vector is network-based and does not require authentication. An attacker sends specially crafted network traffic to a system with RRAS enabled. User interaction is required, which typically means an administrator or operator must perform an action that triggers the vulnerable code path. No public proof-of-concept or in-the-wild exploitation has been documented for this CVE.
No verified exploit code is publicly available for CVE-2024-30029.
Refer to the Microsoft Security Response Center advisory for technical details:
https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-30029
Detection Methods for CVE-2024-30029
Indicators of Compromise
- Unexpected svchost.exe child processes spawned from the RRAS service host (RemoteAccess service) on servers where RRAS is enabled.
- Anomalous inbound traffic to RRAS-related ports such as TCP 1723 (PPTP), UDP 500/4500 (IKE/IPsec), and L2TP endpoints from untrusted sources.
- Crashes or unexpected restarts of the RemoteAccess service recorded in the System event log.
Detection Strategies
- Inventory all Windows hosts with the Routing and Remote Access role enabled and correlate against the May 2024 patch state.
- Hunt for process lineage where the RRAS service host launches command interpreters, scripting engines, or LOLBins such as cmd.exe, powershell.exe, or rundll32.exe.
- Compare current binary versions of RRAS components against patched versions listed in the Microsoft CVE-2024-30029 Advisory.
Monitoring Recommendations
- Enable verbose RRAS and Windows Filtering Platform logging and forward events to a centralized SIEM for correlation.
- Alert on crashes, access violations, or stack/heap corruption errors associated with svchost.exe instances hosting the RRAS service.
- Monitor for unusual outbound connections originating from RRAS hosts that could indicate post-exploitation command and control.
How to Mitigate CVE-2024-30029
Immediate Actions Required
- Apply the Microsoft security updates released on May 14, 2024 to all affected Windows client and server versions.
- Identify systems where the RRAS role is installed and prioritize patching for internet-exposed and DMZ hosts first.
- Restrict network access to RRAS endpoints using firewall rules and network segmentation until patching is complete.
Patch Information
Microsoft addressed CVE-2024-30029 in the May 2024 Patch Tuesday release. Patch identifiers and download links for each affected operating system version are listed in the Microsoft CVE-2024-30029 Advisory. Administrators should validate patch deployment through Windows Update, WSUS, or their configuration management system.
Workarounds
- Disable the Routing and Remote Access service on hosts that do not require it by setting the RemoteAccess service start type to Disabled.
- Block inbound traffic to RRAS-related ports (PPTP TCP 1723, IKE UDP 500/4500, L2TP) at the network perimeter for systems that cannot be patched immediately.
- Limit RRAS access to known administrative source IPs through host-based firewall rules.
# Disable the Routing and Remote Access service on Windows
sc.exe config RemoteAccess start= disabled
sc.exe stop RemoteAccess
# Block inbound PPTP traffic at the host firewall
netsh advfirewall firewall add rule name="Block PPTP Inbound" ^
dir=in action=block protocol=TCP localport=1723
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

