CVEvulnerability
CVE-2024-31459
7.2 HIGH
Official page ↗
- Status
- Modified
- Published
- 2024-05-14
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.0 HIGH — CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 7.2 HIGH — CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-98
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.
Affected configurations
• cacti cacti (< 1.2.27)
• fedoraproject fedora 39
Related
Weakness · CWE (1)
- CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program weakness
References
- https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv Exploit, Vendor Advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r Exploit, Vendor Advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp Exploit, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ Product
- https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv Exploit, Vendor Advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r Exploit, Vendor Advisory
- https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp Exploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html lists.debian.org
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/ Product