CVE-2024-29894

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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://github.com/Cacti/cacti/security/advisories/GHSA-grj5-8fcj-34gh
MISC https://github.com/Cacti/cacti/security/advisories/GHSA-xwqc-7jc4-xm73
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/

Match rules

CPE URI Source package Min version Max version
cacti >= 0 < 1.2.27

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
cacti edge-community 1.2.27-r0 Jeff Bilyk <jbilyk@gmail.com> fixed
cacti 3.19-community 1.2.27-r0 Jeff Bilyk <jbilyk@gmail.com> fixed
cacti 3.20-community 1.2.27-r0 Jeff Bilyk <jbilyk@gmail.com> fixed