8.1high
Cacti RCE vulnerability by file include in lib/plugin.php
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.68% (higher than 86% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| Cacti cacti | < 1.2.27, from - before 1.2.27, before 1.2.27 | CVE List, NVD |
| fedoraproject fedora | 39 | NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Cacti proporciona un framework de monitoreo operativo y gestión de fallas. Antes de la versión 1.2.27, había un problema de inclusión de archivos en el archivo `lib/plugin.php`. Combinado con vulnerabilidades de inyección SQL, se puede implementar la ejecución remota de código. Hay un problema de inclusión de archivos con la función `api_plugin_hook()` en el archivo `lib/plugin.php`, que lee las tablas plugin_hooks y plugin_config en la base de datos. Los datos leídos se utilizan directamente para concatenar la ruta del archivo que se utiliza para la inclusión del archivo. La versión 1.2.27 contiene un parche para el problema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-31459 changed 2025-12-16 | CVE Terms of Use |
| NVD | CVE-2024-31459 changed 2026-06-17 | Public domain |