CVE-2024-31459

CVE-2024-31459 is a high-severity vulnerability in Cacti with a CVSS 3.x base score of 8.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-98.

Key facts

Description

Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, there is a file inclusion issue in the `lib/plugin.php` file. Combined with SQL injection vulnerabilities, remote code execution can be implemented. There is a file inclusion issue with the `api_plugin_hook()` function in the `lib/plugin.php` file, which reads the plugin_hooks and plugin_config tables in database. The read data is directly used to concatenate the file path which is used for file inclusion. Version 1.2.27 contains a patch for the issue.

Frequently asked questions

What is CVE-2024-31459?
Cacti provides an operational monitoring and fault management framework. Prior to version 1.2.27, there is a file inclusion issue in the `lib/plugin.php` file. Combined with SQL injection vulnerabilities, remote code execution can be implemented. There is a file inclusion issue with the `api_plugin_hook()` function in the `lib/plugin.php` file, which reads the plugin_hooks and plugin_config tables in database. The read data is directly used to concatenate the file path which is used for file inclusion. Version 1.2.27 contains a patch for the issue.
How severe is CVE-2024-31459?
CVE-2024-31459 has a CVSS 3.x base score of 8.0, rated high severity. It is exploitable over network with high attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-31459 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-31459?
CVE-2024-31459 primarily affects Cacti. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2024-31459?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
Does CVE-2024-31459 have an EU (EUVD) identifier?
Yes. CVE-2024-31459 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29341.
When was CVE-2024-31459 published?
CVE-2024-31459 was published on 2024-05-14 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Cacti

All CVEs affecting Cacti →

Other CWE-98 (PHP Remote File Inclusion) vulnerabilities

Browse all CWE-98 (PHP Remote File Inclusion) vulnerabilities →