CVE-2023-38312

7.5 HIGH

📋 TL;DR

A directory traversal vulnerability in Valve Counter-Strike 8684 allows clients with remote control access to read arbitrary files from the game server via the motdfile console variable. This affects Counter-Strike game servers running the vulnerable version, potentially exposing sensitive server files to attackers.

💻 Affected Systems

Products:
  • Valve Counter-Strike 8684
Versions: 8684 version (specific build unknown)
Operating Systems: Windows, Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Requires client with remote control access to the game server.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could read sensitive server configuration files, credentials, or system files, potentially leading to full server compromise or data exfiltration.

🟠

Likely Case

Unauthorized file reading of server configuration files, potentially exposing server settings and other game-related data.

🟢

If Mitigated

Limited impact with proper access controls and network segmentation in place.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit requires client access to the game server console with appropriate permissions.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: Unknown

Restart Required: No

Instructions:

No official patch available. Monitor Valve security updates and apply when released.

🔧 Temporary Workarounds

Restrict Remote Console Access

all

Limit or disable remote console access to game servers to prevent exploitation.

Set rcon_password to strong unique value
Disable rcon if not needed

Network Segmentation

all

Isolate game servers from sensitive systems and restrict network access.

🧯 If You Can't Patch

  • Implement strict access controls for game server administration
  • Monitor server logs for unusual file access patterns

🔍 How to Verify

Check if Vulnerable:

Check if running Counter-Strike 8684 version and test with known exploit techniques.

Check Version:

Check game server version in console or configuration files

Verify Fix Applied:

Test with exploit techniques after applying workarounds or patches.

📡 Detection & Monitoring

Log Indicators:

  • Unusual file access patterns in server logs
  • Multiple failed rcon attempts

Network Indicators:

  • Unexpected file transfer from game server
  • Suspicious rcon traffic

SIEM Query:

Search for 'motdfile' commands in game server logs or unusual file access patterns

🔗 References

📤 Share & Export