CVE-2024-31444: Cacti XSS vulnerability in lib/html.php by reading dirty data stored in database
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in automationtreerulesformsave() function in automationtreerules.php is not thoroughly checked and is used to concatenate the HTML statement in formconfirm() function from lib/html.php , finally resulting in cross-site scripting. Version 1.2.27 contains a patch for the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/cactito a version that resolves this vulnerability.Fixed in 1.2.24+ds1-1+deb12u3 - Upgrade
Upgrade
debian/cactito a version that resolves this vulnerability.Fixed in 1.2.27+ds1-1 - Upgrade
Upgrade
debian/cactito a version that resolves this vulnerability.Fixed in 1.2.24+ds1-1+deb12u5Fixed in 1.2.30+ds1-1Fixed in 1.2.31+ds1-4 - Upgrade
Upgrade
alpine/cactito a version that resolves this vulnerability.Fixed in 1.2.27-r0 - Upgrade
Upgrade
Cactito a version that resolves this vulnerability.Fixed in 1.2.27
Event History
Frequently Asked Questions
What is the severity of CVE-2024-31444?
CVE-2024-31444 is categorized as a medium severity vulnerability due to insufficient input validation.
How do I fix CVE-2024-31444?
To fix CVE-2024-31444, upgrade to Cacti version 1.2.27 or later.
What versions of Cacti are affected by CVE-2024-31444?
CVE-2024-31444 affects Cacti versions prior to 1.2.27.
What type of vulnerability is CVE-2024-31444?
CVE-2024-31444 is a vulnerability involving improper input validation in the automation_tree_rules.php file.
Is there a temporary workaround for CVE-2024-31444?
A temporary workaround for CVE-2024-31444 is to disable the affected features until an upgrade can be applied.