CVE-2024-29894
CVE-2024-29894 · Cacti Cross-site Scripting vulnerability when using JavaScript based messaging API
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.4 · Medium · EPSS 0.9% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
cacti
- Versions
- < 1.2.27: Affected
No fix published
cacti Debian:12
- Versions
- 1.2.24+ds1-1
- 1.2.24+ds1-1+deb12u1
- 1.2.24+ds1-1+deb12u2
- Affected ranges
- ECOSYSTEM: < 1.2.24+ds1-1+deb12u3
Update to 1.2.24+ds1-1+deb12u3
cacti Debian:13
- Affected ranges
- ECOSYSTEM: < 1.2.27+ds1-1
Update to 1.2.27+ds1-1
cacti Debian:14
- Affected ranges
- ECOSYSTEM: < 1.2.27+ds1-1
Update to 1.2.27+ds1-1
cacti Ubuntu:24.04:LTS
- Versions
- 1.2.25+ds1-2
- 1.2.26+ds1-1
- Affected ranges
- ECOSYSTEM: < 1.2.26+ds1-1ubuntu0.1
Update to 1.2.26+ds1-1ubuntu0.1