Cyber Resilience

CVE-2024-31444

MediumPublic PoC

Published: 14 May 2024

Published
14 May 2024
Modified
04 November 2025
KEV Added
Patch
CVSS Score v3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
EPSS Score 0.0940 93.0th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

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

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

cacti
cacti
≤ 1.2.27
fedoraproject
fedora
39

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References