XSS in Cacti
CVE-2024-29894
Cacti provides an operational monitoring and fault management framework. Versions of Cacti prior to 1.2.27 contain a residual cross-site scripting vulnerability caused by an incomplete fix for CVE-2023-50250. `raise_message_javascript` from `lib/functions.php` now uses purify.js to fix CVE-2023-50250 (among others). However, it still generates the code out of unescaped PHP variables `$title` and `$header`. If those variables contain single quotes, they can be used to inject JavaScript code. An attacker exploiting this vulnerability could execute actions on behalf of other users. This ability to impersonate users could lead to unauthorized changes to settings. Version 1.2.27 fixes this issue.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L.
EPSS exploit prediction
EPSS: 0.009 (58.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 58th percentile — 58.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Cacti — versions < 1.2.27
- Fedoraproject Fedora — versions 39
Weakness classification (CWE)
References
- github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh (Exploit, Vendor Advisory)
- github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73 (Exploit, Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (Product)
Frequently asked questions
- What is CVE-2024-29894?
- CVE-2024-29894 is a medium-severity vulnerability in Cacti, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2024-05-14.
- How severe is CVE-2024-29894?
- Medium severity. CVSS v3 base score is 5.4 out of 10.