CVE-2021-24038

7.8 HIGH

📋 TL;DR

This vulnerability allows an attacker to escalate privileges from an unprivileged process to a privileged one by exploiting a handle management bug in OVRServiceLauncher.exe. It affects Oculus Desktop users running versions after 1.39 and before 31.1.0.67.507. Successful exploitation could give an attacker elevated system privileges.

💻 Affected Systems

Products:
  • Oculus Desktop
Versions: After 1.39 and prior to 31.1.0.67.507
Operating Systems: Windows
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with Oculus Desktop software installed. VR headset connection not required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

An attacker gains full SYSTEM-level privileges on the affected machine, enabling complete system compromise, data theft, and persistence establishment.

🟠

Likely Case

Local attackers with initial access can escalate privileges to install malware, modify system configurations, or access protected resources.

🟢

If Mitigated

With proper patch management and least privilege principles, impact is limited to isolated systems with no administrative access.

🌐 Internet-Facing: LOW - This is a local privilege escalation requiring initial access to the system.
🏢 Internal Only: HIGH - Once an attacker gains initial access (via phishing, malware, etc.), they can exploit this to gain full system control.

🎯 Exploit Status

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

Requires local access and ability to execute code. Handle manipulation techniques are well-documented in Windows security research.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 31.1.0.67.507 or later

Vendor Advisory: https://www.facebook.com/security/advisories/cve-2021-24038

Restart Required: Yes

Instructions:

1. Open Oculus Desktop app. 2. Go to Settings > Beta. 3. Click 'Restart Oculus' if update notification appears. 4. Alternatively, download latest version from Oculus website and install.

🔧 Temporary Workarounds

Disable Oculus Service

windows

Temporarily disable the Oculus service to prevent exploitation

sc stop OVRService
sc config OVRService start= disabled

Remove Oculus Software

windows

Uninstall Oculus Desktop if not needed

Control Panel > Programs > Uninstall Oculus

🧯 If You Can't Patch

  • Implement strict least privilege principles - ensure users don't have administrative rights
  • Monitor for suspicious process handle manipulation using Windows security auditing

🔍 How to Verify

Check if Vulnerable:

Check Oculus Desktop version in Settings > General. If version is between 1.40 and 31.1.0.67.506 inclusive, system is vulnerable.

Check Version:

Check Oculus app version in Settings > General tab

Verify Fix Applied:

Verify Oculus Desktop version is 31.1.0.67.507 or higher in Settings > General.

📡 Detection & Monitoring

Log Indicators:

  • Unusual process handle operations in Windows Security logs
  • Suspicious child processes spawned from OVRServiceLauncher.exe

Network Indicators:

  • None - this is a local privilege escalation

SIEM Query:

Process creation where parent process name contains 'OVRServiceLauncher' AND (process name contains 'cmd' OR process name contains 'powershell' OR process name contains 'whoami')

🔗 References

📤 Share & Export