CVE-2024-31444
Published: 14 May 2024
Summary
CVE-2024-31444 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Cacti Cacti. Its CVSS base score is 4.6 (Medium).
Operationally, ranked in the top 7.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
Cacti, an operational monitoring and fault management framework, contains a cross-site scripting vulnerability (CVE-2024-31444, CWE-79) in versions prior to 1.2.27. The flaw occurs because data passed to the automation_tree_rules_form_save() function in automation_tree_rules.php is not adequately validated before being concatenated into an HTML statement inside the form_confirm() function from lib/html.php.
An authenticated attacker with low privileges can supply crafted input that results in script execution when a victim user interacts with the affected page. The CVSS 4.6 score reflects network attack vector, low complexity, required user interaction, and impacts limited to integrity and availability without confidentiality loss.
The official GitHub advisory GHSA-p4ch-7hjw-6m87 states that version 1.2.27 contains a patch for the issue. Corresponding notices from Fedora and Debian likewise direct administrators to apply the updated package to eliminate the vulnerability. The associated EPSS score has remained flat at 0.0940 with no material increase since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-29333
Vulnerability details
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, some of the data stored in `automation_tree_rules_form_save()` function in `automation_tree_rules.php` is not thoroughly checked and is used to concatenate the HTML statement in `form_confirm()` function from `lib/html.php`…
more
, finally resulting in cross-site scripting. Version 1.2.27 contains a patch for the issue.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.