First published: Mon May 13 2024(Updated: )
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.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/cacti | <=1.2.24+ds1-1+deb12u2 | 1.2.16+ds1-2+deb11u3 1.2.16+ds1-2+deb11u4 1.2.24+ds1-1+deb12u4 1.2.27+ds1-2 |
Cacti | <1.2.27 | |
Fedora | =39 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-29894 is classified as a residual cross-site scripting vulnerability.
To fix CVE-2024-29894, upgrade to Cacti version 1.2.27 or later.
CVE-2024-29894 affects all versions of Cacti prior to version 1.2.27.
Yes, CVE-2024-29894 is related to an incomplete fix for CVE-2023-50250.
The vulnerability involves the `raise_message_javascript` function from the `lib/functions.php` file.