{"id":"CVE-2024-31839","aliases":["EUVD-2024-1184","GHSA-c5rv-hjjc-jv7m","GO-2024-2721"],"status":"published","title":"tiagorlampert CHAOS vulnerable to Cross Site Scripting","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.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-12","score":0.08104,"percentile":0.94901,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":false},"cwes":["CWE-79"],"published":"2024-04-12T00:00:00Z","modified":"2026-10-28T02:31:07Z","exploits":[{"source":"metasploit","id":"exploit/linux/http/chaos_rat_xss_to_rce","title":"Chaos RAT XSS to RCE","type":"exploit","platform":"Linux,Unix","date":"2024-04-10","verified":true,"url":"https://www.rapid7.com/db/modules/exploit/linux/http/chaos_rat_xss_to_rce"},{"source":"nuclei","id":"CVE-2024-31839","title":"CHAOS 5.0.1 'sendCommandHandler' - Cross-Site Scripting","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-31839.yaml"}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/tiagorlampert/CHAOS","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"5.0.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tiagorlampert/CHAOS","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"5.0.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/tiagorlampert/CHAOS","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"products":[{"vendor":"tiagorlampert","product":"chaos"}],"references":[{"url":"https://github.com/tiagorlampert/CHAOS","tags":["x_transferred","Product","package"]},{"url":"https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents/","tags":["x_transferred","Exploit","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31839","tags":["advisory"]},{"url":"https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents","tags":["web"]},{"url":"https://github.com/advisories/GHSA-c5rv-hjjc-jv7m"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31839.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2024-31839","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.","status":"published","published":"2024-04-12T00:00:00Z","modified":"2024-08-02T01:59:50.666Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:14.308905Z"}],"euvd":[{"id":"EUVD-2024-1184","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.","status":"published","published":"2024-04-12T00:00:00Z","modified":"2024-08-02T01:59:50Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:50:24.06764Z"}],"ghsa":[{"id":"GHSA-c5rv-hjjc-jv7m","title":"tiagorlampert CHAOS vulnerable to Cross Site Scripting","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.","status":"published","published":"2024-04-12T15:37:21Z","modified":"2024-05-10T14:25:00Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:48.08826Z"}],"nvd":[{"id":"CVE-2024-31839","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.","status":"published","published":"2024-04-12T14:15:07.947Z","modified":"2026-06-17T07:28:48.457Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:09:50.299382Z"}],"osv":[{"id":"CVE-2024-31839","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.","status":"published","published":"2024-04-12T00:00:00Z","modified":"2026-10-28T02:31:07.692678164Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:40.06138Z"},{"id":"GHSA-c5rv-hjjc-jv7m","title":"tiagorlampert CHAOS vulnerable to Cross Site Scripting","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.","status":"published","published":"2024-04-12T15:37:21Z","modified":"2024-05-10T14:24:41Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.571161Z"},{"id":"GO-2024-2721","title":"Cross site scripting in github.com/tiagorlampert/CHAOS","description":"A malicious actor may be able to extract a JWT token via malicious \"/command\" request. This is a form of cross site scripting (XSS).","status":"published","published":"2024-05-09T22:01:10Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:01.453823Z"}]}}
