Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

Safe Tutorial Legacy CS:GO voice RCE (Windows/Linux/macOS) PATCH/FIX

wizardballs

csgo community warrior
Ex Staff
Forum Contributor
User ID:
7213
Messages:
381
Reactions:
1,441
Badges:
26
REP:
−0/3+
Level:
272
A legacy CS:GO voice-codec bug lets a malicious server send a crafted svc_VoiceInit version and cause a stack overflow in the client which can lead to code execution.

Showcasing the exploit :


Zip contains:
- original/ untouched binaries
- patched/ fixed binaries
- patch_celt.py the patcher
- diff.txt shows each change
- README.md

Install the patched binaries (back up first):
- Windows: ...\Counter-Strike Global Offensive\bin\vaudio_celt.dll
- Linux: .../csgo/bin/linux64/vaudio_celt_client.so
- macOS: .../csgo/bin/osx64/vaudio_celt.dylib

macOS:
codesign --force --sign - vaudio_celt.dylib

Credits: ivg, kinija, mad, wizardballs. (alphabetical order)
 

Password for .zip file is hvh.net

Safe file: no malicious activity detected, safe to use
 
Quick note:
the negative VoiceInit CELT bug on its own is a remote client crash. A malicious server can send a negative version number, causing the client to access g_CeltVersion out of bounds.

Getting RCE out of this needs you to have a separate ASLR bypass/info free. There are some vulnerabilities in CS:GO that lets this happen, and once we break ASLR we can develop an RCE exploit, which is where things get WAY worse.

For obvious reasons, I'm not sharing the full exploit chain here.