CVE-2023-0652

7.0 HIGH

📋 TL;DR

This vulnerability allows local attackers to escalate privileges by exploiting hardlink creation during the Cloudflare WARP client repair process. Attackers can forge hardlink destinations to overwrite SYSTEM-protected files, gaining elevated privileges. Users running vulnerable versions of Cloudflare WARP Client for Windows are affected.

💻 Affected Systems

Products:
  • Cloudflare WARP Client for Windows
Versions: <= 2022.12.582.0 (mount point issue up to 2022.5.309.0)
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists during installation/repair process when hardlinks are created in ProgramData folder.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete system compromise via arbitrary file overwrite leading to SYSTEM-level code execution, persistence mechanisms, and full administrative control.

🟠

Likely Case

Local privilege escalation allowing attackers to gain SYSTEM privileges and bypass security controls on the compromised system.

🟢

If Mitigated

Limited impact with proper access controls and monitoring, though local attackers could still attempt exploitation.

🌐 Internet-Facing: LOW - This is a local privilege escalation vulnerability requiring local access to the system.
🏢 Internal Only: HIGH - Internal attackers with standard user access can exploit this to gain SYSTEM privileges and potentially move laterally.

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires local access and knowledge of the hardlink creation process during repair. Public advisory includes technical details.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Versions after 2022.12.582.0

Vendor Advisory: https://github.com/cloudflare/advisories/security/advisories/GHSA-xmhj-9p83-xvw9

Restart Required: Yes

Instructions:

1. Download latest WARP client from Cloudflare's official distribution. 2. Uninstall current vulnerable version. 3. Install updated version. 4. Restart system to ensure complete mitigation.

🔧 Temporary Workarounds

Remove vulnerable WARP client

windows

Uninstall Cloudflare WARP Client if not required for operations

Control Panel > Programs > Uninstall a program > Select Cloudflare WARP Client > Uninstall

Restrict ProgramData folder permissions

windows

Limit write access to ProgramData folder to prevent hardlink manipulation

icacls "C:\ProgramData" /deny Users:(OI)(CI)W

🧯 If You Can't Patch

  • Implement strict access controls to limit who can run installer/repair processes
  • Monitor for suspicious file operations in ProgramData folder and installer activities

🔍 How to Verify

Check if Vulnerable:

Check WARP client version in Settings > About or via registry: HKEY_LOCAL_MACHINE\SOFTWARE\Cloudflare\WARPClient\Version

Check Version:

reg query "HKLM\SOFTWARE\Cloudflare\WARPClient" /v Version

Verify Fix Applied:

Verify installed version is greater than 2022.12.582.0 and check that hardlink creation in ProgramData is properly restricted

📡 Detection & Monitoring

Log Indicators:

  • Unusual installer/repair processes for WARP client
  • File creation/modification in ProgramData folder with SYSTEM privileges
  • Hardlink creation events in Windows security logs

Network Indicators:

  • None - this is a local privilege escalation vulnerability

SIEM Query:

EventID=4688 AND (ProcessName LIKE '%msiexec.exe%' OR CommandLine LIKE '%WARP%') AND SubjectUserName NOT IN ('SYSTEM', 'Administrators')

🔗 References

📤 Share & Export