CVE-2024-33434
tiagorlampert CHAOS vulnerable to arbitrary code execution
Severity by source
Trivy's own label is CRITICAL. Rated critical by GHSA.
Description
An issue in tiagorlampert CHAOS v5.0.1 before 1b451cf62582295b7225caf5a7b506f0bad56f6b and 24c9e109b5be34df7b2bce8368eae669c481ed5e allows a remote attacker to execute arbitrary code via the unsafe concatenation of the `filename` argument into the `buildStr` string without any sanitization or filtering.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| go::GitHub Security Advisory Go | github.com/tiagorlampert/CHAOS | 0.0.0-20220716132853-b47438d36e3a |
References
- https://gist.github.com/slimwang/d1ec6645ba9012a551ea436679244496
- https://github.com/tiagorlampert/CHAOS
- https://github.com/tiagorlampert/CHAOS/commit/1b451cf62582295b7225caf5a7b506f0bad56f6b
- https://github.com/tiagorlampert/CHAOS/commit/24c9e109b5be34df7b2bce8368eae669c481ed5e
- https://github.com/tiagorlampert/CHAOS/commit/b47438d36e3ad746de8c009e644f6e5396703f25
- https://github.com/tiagorlampert/CHAOS/pull/95
- https://nvd.nist.gov/vuln/detail/CVE-2024-33434
- https://web.archive.org/web/20240406061035/https://blog.chebuya.com/posts/remote-code-execution-on-chaos-rat-via-spoofed-agents