{"id":"CVE-2024-31459","published":"2024-05-13T15:11:37Z","modified":"2025-12-16T18:13:18Z","title":"Cacti RCE vulnerability by file include in lib/plugin.php","vendor":"Cacti","product":"cacti","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02677,"percentile":0.86157,"provenance":"source"},"cwes":[{"id":"CWE-98","name":"Improper Control of Filename for Include/Require Statement in PHP Program"}],"references":[{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-cx8g-hvq8-p2rv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-gj3f-p326-gh8r","tags":["x_refsource_MISC"]},{"url":"https://github.com/Cacti/cacti/security/advisories/GHSA-pfh9-gwm6-86vp","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RBEOAFKRARQHTDIYSL723XAFJ2Q6624X/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00027.html","tags":[]}],"priority":{"score":22.9,"factors":[{"name":"EPSS percentile","points":17.23},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"cacti","affectedVersions":[{"vendor":"Cacti","product":"cacti","versions":["< 1.2.27"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-17T04:00:41.024822Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-29341","exploited":false,"provenance":"source"}}