Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2024-30014

CVE-2024-30014: Windows 10 1507 RRAS RCE Vulnerability

CVE-2024-30014 is a remote code execution vulnerability in Windows Routing and Remote Access Service (RRAS) affecting Windows 10 1507. Attackers can exploit this flaw to execute arbitrary code. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

Published:

CVE-2024-30014 Overview

CVE-2024-30014 is a remote code execution vulnerability in the Microsoft Windows Routing and Remote Access Service (RRAS). The flaw stems from a numeric conversion error [CWE-197] in RRAS, a component used by administrators to manage routing, dial-up, and VPN connectivity. An unauthenticated attacker can exploit the vulnerability over the network, but successful exploitation requires user interaction and high attack complexity. When triggered, the issue allows arbitrary code execution on the affected host with full impact to confidentiality, integrity, and availability. Microsoft addressed the vulnerability in its May 2024 Patch Tuesday release.

Critical Impact

Successful exploitation grants remote code execution on Windows servers and clients running RRAS, enabling complete system compromise.

Affected Products

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

Discovery Timeline

  • 2024-05-14 - CVE-2024-30014 published to NVD coinciding with Microsoft's security update
  • 2025-01-08 - Last updated in NVD database

Technical Details for CVE-2024-30014

Vulnerability Analysis

The vulnerability resides in the Windows Routing and Remote Access Service (RRAS), which handles routing protocols, demand-dial connections, and VPN traffic. Microsoft classifies the issue as a remote code execution flaw tied to [CWE-197], a numeric truncation error. Truncation occurs when a value of one numeric type is converted to a smaller type, discarding bits and producing an unintended value. In RRAS code paths that parse network input, a truncated value can be used as a length, index, or buffer size, leading to memory corruption that an attacker can leverage for code execution.

Exploitation is not trivial. The CVSS vector indicates high attack complexity and required user interaction, meaning an attacker must convince a user on a host running RRAS to perform an action, such as initiating a connection to an attacker-controlled endpoint or processing a crafted network response. Once executed, the resulting code runs in the context of the RRAS service.

Root Cause

The root cause is improper handling of a numeric conversion in RRAS message processing. When values are truncated before validation, downstream logic operates on attacker-influenced data that violates expected bounds. This results in memory corruption suitable for control-flow hijacking.

Attack Vector

The attack vector is network-based. An attacker delivers crafted protocol data to a Windows system running RRAS, or induces a user to connect to a malicious RRAS endpoint. No prior authentication is required, but the user interaction requirement and high complexity reduce the likelihood of mass exploitation. As of publication, no public proof-of-concept or in-the-wild exploitation has been reported, and the CVE is not listed in CISA's Known Exploited Vulnerabilities catalog.

No public proof-of-concept code is available. Refer to the Microsoft Security Update Guide for vendor technical details.

Detection Methods for CVE-2024-30014

Indicators of Compromise

  • Unexpected RemoteAccess or RasMan service crashes, restarts, or svchost.exe faults referencing RRAS modules in the Windows Application or System event log
  • Anomalous outbound connections from systems with the Remote Access role enabled to untrusted endpoints on ports 1701, 1723, 500, or 4500
  • New or unexpected child processes spawned by svchost.exe instances hosting RRAS
  • Creation of persistence artifacts (services, scheduled tasks, run keys) shortly after RRAS-related network activity

Detection Strategies

  • Inventory all hosts where the Routing and Remote Access role or service is installed and flag any installation that is not strictly required for business function
  • Monitor for process behavior anomalies originating from RRAS host processes, including unusual command-line spawns and LOLBin execution
  • Correlate RRAS service errors with subsequent process creation and outbound network events to identify post-exploitation activity

Monitoring Recommendations

  • Enable Windows event collection for Security, System, and Application logs and forward to a centralized analytics platform
  • Alert on RRAS service state changes, configuration modifications, and binary path changes
  • Track inbound and outbound traffic patterns on VPN and routing ports for hosts running RRAS

How to Mitigate CVE-2024-30014

Immediate Actions Required

  • Apply the May 2024 Microsoft security updates to all supported Windows client and server versions listed in the advisory
  • Disable the Routing and Remote Access service on systems that do not require it as a defense-in-depth measure
  • Restrict inbound and outbound connectivity to RRAS endpoints using host and perimeter firewalls
  • Audit user permissions and reduce exposure of administrative accounts that interact with RRAS-enabled hosts

Patch Information

Microsoft released fixes for CVE-2024-30014 as part of the May 14, 2024 security updates. Administrators should consult the Microsoft Security Update Guide for CVE-2024-30014 to identify the correct KB article for each affected operating system version and deploy through Windows Update, WSUS, Intune, or SCCM.

Workarounds

  • If patching cannot be performed immediately, stop and disable the RemoteAccess service on hosts where the role is not required
  • Block external access to RRAS-related ports at the network perimeter and limit access to trusted management subnets
  • Apply network segmentation to isolate hosts running RRAS from general user workstations
bash
# Disable Routing and Remote Access service via PowerShell
Stop-Service -Name RemoteAccess -Force
Set-Service -Name RemoteAccess -StartupType Disabled

# Verify service status
Get-Service -Name RemoteAccess | Select-Object Name, Status, StartType

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

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.