CVE-2024-29894

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductCacti
PublishedMay 14, 2024
First seenMay 14, 2024

How to fix

Update
  • cacti cacti1.2.27 or later

Affected products

ProductAffected versionsFixed in
cacti cactiv < 1.2.271.2.27
fedoraproject fedora39—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-29894 · Cacti · Dark Radar