CVE-2024-30029

7.5 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on Windows systems running Routing and Remote Access Service (RRAS) without authentication. Attackers can exploit this to gain SYSTEM-level privileges on affected systems. Organizations using Windows servers with RRAS enabled are primarily affected.

💻 Affected Systems

Products:
  • Windows Server
  • Windows
Versions: Windows Server 2019, Windows Server 2022, Windows 11 version 21H2, Windows 11 version 22H2
Operating Systems: Windows Server 2019, Windows Server 2022, Windows 11
Default Config Vulnerable: ✅ No
Notes: Only vulnerable when RRAS role/service is enabled and configured. Default Windows installations do not have RRAS enabled.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise with SYSTEM privileges leading to lateral movement, data exfiltration, ransomware deployment, or persistent backdoor installation across the network.

🟠

Likely Case

Initial foothold on network perimeter leading to privilege escalation, credential harvesting, and lateral movement to critical systems.

🟢

If Mitigated

Limited impact due to network segmentation, proper patch management, and disabled RRAS service on non-essential systems.

🌐 Internet-Facing: HIGH - RRAS is often exposed to the internet for VPN/remote access functionality, making it directly accessible to attackers.
🏢 Internal Only: MEDIUM - Internal systems with RRAS enabled could be targeted through compromised internal hosts or malicious insiders.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: MEDIUM

Microsoft rates this as 'Exploitation More Likely' in their advisory. The vulnerability requires specific network access to RRAS service ports.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: May 2024 security updates (KB5037771 for Windows 11, KB5037765 for Server 2022, etc.)

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-30029

Restart Required: Yes

Instructions:

1. Apply May 2024 Windows security updates from Windows Update or Microsoft Update Catalog. 2. Restart affected systems. 3. Verify patch installation via 'systeminfo' command or Windows Update history.

🔧 Temporary Workarounds

Disable RRAS Service

windows

Temporarily disable Routing and Remote Access Service if not required for business operations

sc config RemoteAccess start= disabled
sc stop RemoteAccess

Block RRAS Ports

windows

Block network access to RRAS ports (TCP 1723, UDP 1701, UDP 500, UDP 4500) at firewall

netsh advfirewall firewall add rule name="Block RRAS" dir=in action=block protocol=TCP localport=1723
netsh advfirewall firewall add rule name="Block RRAS UDP" dir=in action=block protocol=UDP localport=1701,500,4500

🧯 If You Can't Patch

  • Disable RRAS service on all non-essential systems immediately
  • Implement strict network segmentation to isolate RRAS servers from critical assets

🔍 How to Verify

Check if Vulnerable:

Check if RRAS service is running: 'sc query RemoteAccess' and verify Windows version is affected

Check Version:

systeminfo | findstr /B /C:"OS Name" /C:"OS Version"

Verify Fix Applied:

Verify May 2024 security updates are installed: 'systeminfo | findstr /B /C:"OS Name" /C:"OS Version" /C:"Hotfix(s)"'

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4625 (failed logon) to RRAS service
  • Event ID 4688 (process creation) with unusual parent processes
  • Windows Security logs showing unexpected RRAS service restarts

Network Indicators:

  • Unusual traffic patterns to RRAS ports (1723, 1701, 500, 4500)
  • Connection attempts from unexpected IP addresses to RRAS service

SIEM Query:

source="windows_security" (event_id=4625 AND service_name="RemoteAccess") OR (event_id=4688 AND new_process_name LIKE "%powershell%" OR "%cmd%")

🔗 References

📤 Share & Export