CVE-2024-30062

7.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on affected Windows systems by exploiting a use-after-free flaw (CWE-416) in the Standards-Based Storage Management Service. Attackers could gain SYSTEM privileges on compromised systems. All Windows systems with the vulnerable service enabled are affected.

💻 Affected Systems

Products:
  • Windows Standards-Based Storage Management Service
Versions: Windows 10, Windows 11, Windows Server 2019, Windows Server 2022
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Service is enabled by default on affected Windows versions. Systems with the service disabled or removed are not vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise with SYSTEM privileges, enabling complete control over the system, data theft, lateral movement, and persistence establishment.

🟠

Likely Case

Privilege escalation to SYSTEM followed by deployment of ransomware, backdoors, or credential harvesting tools.

🟢

If Mitigated

Limited impact due to network segmentation, restricted service access, and proper patch management preventing exploitation.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

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

Exploitation requires network access to the vulnerable service and likely involves crafting malicious packets to trigger the use-after-free condition.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: May 2024 security updates (KB5037771 for Windows 11, KB5037768 for Windows 10, etc.)

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

Restart Required: Yes

Instructions:

1. Apply the May 2024 Windows security updates from Windows Update. 2. Alternatively, download and install the appropriate KB patch from Microsoft Update Catalog. 3. Restart the system after installation.

🔧 Temporary Workarounds

Disable Standards-Based Storage Management Service

windows

Disables the vulnerable service to prevent exploitation.

sc config WinSMS stop= disabled
sc stop WinSMS

Block Network Access to Service Port

all

🧯 If You Can't Patch

  • Implement strict network segmentation to isolate systems running the vulnerable service.
  • Deploy endpoint detection and response (EDR) solutions to monitor for exploitation attempts.

🔍 How to Verify

Check if Vulnerable:

Check if the WinSMS service is running and if the system has not applied May 2024 security updates.

Check Version:

wmic qfe list | findstr "KB5037771 KB5037768"

Verify Fix Applied:

Verify that the May 2024 security updates are installed and the system has been restarted.

📡 Detection & Monitoring

Log Indicators:

  • Unexpected process creation from WinSMS service
  • Crash logs related to WinSMS.exe

Network Indicators:

  • Unusual network traffic to port used by Standards-Based Storage Management Service

SIEM Query:

Process Creation where Parent Process Name contains "WinSMS" AND Command Line contains unusual parameters

🔗 References

📤 Share & Export