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

Safe Tutorial Legacy CS:GO Remote Crash (Windows/Linux/macOS) PATCH/FIX

wizardballs

csgo community warrior
Ex Staff
Forum Contributor
User ID:
7213
Messages:
384
Reactions:
1,451
Badges:
26
REP:
−0/3+
Level:
279
A legacy CS:GO voice-codec bug lets a malicious server send a crafted svc_VoiceInit version and a matching svc_VoiceData frame, causing a remotely triggered out-of-bounds access (and stack overflow) in the client. To turn this into code execution, we'd need an ASLR bypass (an info free from another bug). Older builds had such a free (the uninitialized HTTP download buffer), current builds have patched it.

Correction: I originally described this as an RCE exploit, when I should've clarified that it's a remote crash with the potential for RCE if ASLR is bypassed. I apologize.

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

Last edited:
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.
 
  • Like
Reactions: mayonewsichian
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.
are you implying you rced us 😱😱😱😱😱😱😱 /j
 
  • Like
Reactions: wizardballs
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)
Does disabling voice chat help avoid this?
 
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.
And what should you do not play CSGO at all??
 
no more raging russian kids in hvh servers since to avoid get ratted u need keep voice_enable 0
i dont think that would help
sabxres is wrong, but sktez is right! for this rce to work the server needs to send a negative version number when joining, so no. disabling voicechat wouldnt help
 
  • Love
Reactions: sktez
Your video shows you injecting a DLL to trigger the exploit, lots of people are assuming you're just fearmongering due to that.
I don't personally think you're fearmongering, if you did want to you could've just hid the injection process.
But either way, why don't you explain what you're actually doing in the video?
It's obviously going to get seen by a lot of people that have no idea what's happening, I think a responsible disclosure should include an explanation of what's actually happening.

And I do think it's at least a bit "fearmongering adjacent" when you only mention this in a comment afterwards:
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.

Explanation for those wondering now:
What works right now, in the wild, is a remote crash. Any malicious server can send svc_VoiceInit with a negative version and cause an out-of-bounds read into the codec init of an unpatched client.

The OOB read yields values that are predictable relative to the module. To weaponize the stack overflow into actual controlled execution requires you to know absolute runtime addresses (defeating ASLR, Address Space Layout Randomization).
Their DLL injection in the showcase video is basically there to fill this gap for demonstration, to prove this as a viable exploit chain.
 
  • Sad
Reactions: wooksi
Your video shows you injecting a DLL to trigger the exploit, lots of people are assuming you're just fearmongering due to that.
I don't personally think you're fearmongering, if you did want to you could've just hid the injection process.
But either way, why don't you explain what you're actually doing in the video?
It's obviously going to get seen by a lot of people that have no idea what's happening, I think a responsible disclosure should include an explanation of what's actually happening.

And I do think it's at least a bit "fearmongering adjacent" when you only mention this in a comment afterwards:


Explanation for those wondering now:
What works right now, in the wild, is a remote crash. Any malicious server can send svc_VoiceInit with a negative version and cause an out-of-bounds read into the codec init of an unpatched client.

The OOB read yields values that are predictable relative to the module. To weaponize the stack overflow into actual controlled execution requires you to know absolute runtime addresses (defeating ASLR, Address Space Layout Randomization).
Their DLL injection in the showcase video is basically there to fill this gap for demonstration, to prove this as a viable exploit chain.
"Their DLL injection in the showcase video is basically there to fill this gap for demonstration, to prove this as a viable exploit chain." Exactly as you said. No reason for me to hide injection process or anything, I could have done it fully server-sided but lazy, there have also been past exploits in CS:GO that could free information about the client, most of them have been patched. Only reason I posted it like this, is because it's a matter of time until someone with AI figures out how to supply the missing information to get past ASLR, and then this exploit gets way more serious.

I'm not going to say this exploit isn't nothing, because with the right setup you can do really serious shit.
 
Your video shows you injecting a DLL to trigger the exploit, lots of people are assuming you're just fearmongering due to that.
I don't personally think you're fearmongering, if you did want to you could've just hid the injection process.
But either way, why don't you explain what you're actually doing in the video?
It's obviously going to get seen by a lot of people that have no idea what's happening, I think a responsible disclosure should include an explanation of what's actually happening.

And I do think it's at least a bit "fearmongering adjacent" when you only mention this in a comment afterwards:


Explanation for those wondering now:
What works right now, in the wild, is a remote crash. Any malicious server can send svc_VoiceInit with a negative version and cause an out-of-bounds read into the codec init of an unpatched client.

The OOB read yields values that are predictable relative to the module. To weaponize the stack overflow into actual controlled execution requires you to know absolute runtime addresses (defeating ASLR, Address Space Layout Randomization).
Their DLL injection in the showcase video is basically there to fill this gap for demonstration, to prove this as a viable exploit chain.
I didn't intend to "fearmonger" or scare anyone. I just think people should patch it since it's such a simple fix, and I miscommunicated a bit in the post, hence my follow-up reply clarifying it, and that's my bad.
 
  • Like
Reactions: needthePoxy1