Cross-site scripting in Cacti - CVE-2024-29894

 

Cross-site scripting in Cacti - CVE-2024-29894

Published: June 3, 2024


Vulnerability identifier: #VU90704
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2024-29894
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote user to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data within the raise_message_javascript() function from lib/functions.php. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.

Note, the vulnerability exists due to incomplete fix for #VU84815 (CVE-2023-50250).


Affected software

Cacti
Fedora
cacti
cacti-spine

How to mitigate CVE-2024-29894

Install updates from vendor's website.

Cacti - update to 1.2.27
cacti - addressed in versions 1.2.27-1.el7, 1.2.27-1.el8, 1.2.27-1.el9, 1.2.27-1.fc39
cacti-spine - addressed in versions 1.2.27-1.el7, 1.2.27-1.el8, 1.2.27-1.el9, 1.2.27-1.fc39

External References

Related Security Bulletins