Name | CVE-2024-29894 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cacti (PTS) | jessie, jessie (lts) | 0.8.8b+dfsg-8+deb8u10 | vulnerable |
| stretch (security), stretch (lts), stretch | 0.8.8h+ds1-10+deb9u2 | vulnerable |
| buster (security), buster, buster (lts) | 1.2.2+ds1-2+deb10u6 | vulnerable |
| bullseye | 1.2.16+ds1-2+deb11u3 | fixed |
| bullseye (security) | 1.2.16+ds1-2+deb11u4 | fixed |
| bookworm | 1.2.24+ds1-1+deb12u4 | fixed |
| bookworm (security) | 1.2.24+ds1-1+deb12u2 | vulnerable |
| sid, trixie | 1.2.28+ds1-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cacti | source | jessie | (unfixed) | end-of-life | | |
cacti | source | stretch | (unfixed) | end-of-life | | |
cacti | source | buster | (unfixed) | end-of-life | | |
cacti | source | bullseye | (not affected) | | | |
cacti | source | bookworm | 1.2.24+ds1-1+deb12u3 | | | |
cacti | source | (unstable) | 1.2.27+ds1-1 | | | |
Notes
[bullseye] - cacti <not-affected> (Vulnerable code not present)
https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh
Fixed by: https://github.com/Cacti/cacti/commit/9c75f8da5b609d17c8c031fd46362f730358b792 (1.2.27)
Follow-up fix: https://github.com/Cacti/cacti/commit/6a82fa1abe81d96238a87727087572ff749d0a8d (1.2.x)
Follow-up of CVE-2023-50250