Description
Cross Site Scripting vulnerability in tiagorlampert CHAOS v.5.0.1 allows a remote attacker to escalate privileges via the sendCommandHandler function in the handler.go component.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Chaos RAT XSS to RCE
exploit/linux/http/chaos_rat_xss_to_rce
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- CHAOS 5.0.1 'sendCommandHandler' - Cross-Site Scripting http/cves/2024/CVE-2024-31839.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/tiagorlampert/CHAOS | <= 5.0.1 | — | GHSA-c5rv-hjjc-jv7m |
| Go | github.com/tiagorlampert/CHAOS | all versions | — | GO-2024-2721 |