CVE-2023-24905

7.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on systems running vulnerable Remote Desktop Client software. Attackers can exploit this by tricking users into connecting to a malicious RDP server, potentially leading to full system compromise. This affects Windows systems with the Remote Desktop Client enabled.

💻 Affected Systems

Products:
  • Microsoft Remote Desktop Client
Versions: Multiple Windows versions prior to security updates
Operating Systems: Windows 10, Windows 11, Windows Server 2019, Windows Server 2022
Default Config Vulnerable: ⚠️ Yes
Notes: Requires user interaction to connect to malicious RDP server. Systems with RDP client disabled are not vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system takeover with administrative privileges, enabling data theft, ransomware deployment, and persistent backdoor installation.

🟠

Likely Case

Initial foothold for lateral movement within networks, credential harvesting, and installation of malware payloads.

🟢

If Mitigated

Limited impact with proper network segmentation, endpoint protection, and user awareness training preventing successful exploitation.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Requires user to initiate RDP connection to attacker-controlled server. No authentication bypass needed but requires social engineering.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Apply latest Windows security updates from Microsoft

Vendor Advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-24905

Restart Required: Yes

Instructions:

1. Open Windows Update settings
2. Check for updates
3. Install all available security updates
4. Restart system when prompted

🔧 Temporary Workarounds

Disable RDP Client

windows

Prevent use of Remote Desktop Client to block exploitation vector

Remove via Control Panel > Programs > Turn Windows features on or off > Uncheck Remote Desktop Client

Network Restriction

windows

Block outbound RDP connections to untrusted networks

New-NetFirewallRule -DisplayName "Block RDP Outbound" -Direction Outbound -LocalPort 3389 -Protocol TCP -Action Block

🧯 If You Can't Patch

  • Implement network segmentation to isolate systems from untrusted RDP servers
  • Deploy endpoint detection and response (EDR) solutions to detect exploitation attempts
  • Educate users about risks of connecting to unknown RDP servers

🔍 How to Verify

Check if Vulnerable:

Check Windows Update history for missing security updates related to CVE-2023-24905

Check Version:

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

Verify Fix Applied:

Verify KB article for your Windows version is installed via 'wmic qfe list' or PowerShell 'Get-HotFix'

📡 Detection & Monitoring

Log Indicators:

  • Event ID 4624 with logon type 10 (RemoteInteractive) from suspicious sources
  • Unexpected RDP client connections in Windows Event Logs

Network Indicators:

  • Outbound RDP connections to unknown external IP addresses
  • RDP traffic to non-standard ports

SIEM Query:

source="windows" event_id=4624 logon_type=10 | stats count by src_ip

🔗 References

📤 Share & Export