This exploit module leverages a SQLi (CVE-2023-49085) and a LFI (CVE-2023-49084) vulnerability in Cacti versions prior to 1.2.26 to achieve RCE. Authentication is needed and the account must have access to the vulnerable PHP script (`pollers.php`). This is granted by setting the `Sites/Devices/Data` permission in the `General Administration` section.
Exploit database
Vulnerability
CVE-2023-49084
Local File Inclusion (RCE) in Cacti
Vulnerability details
- Score
- 8.1
- Severity
- high
CVSS 3.1 · GitHub_M
Vector string
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:HDescription
Cacti is a robust performance and fault management framework and a frontend to RRDTool - a Time Series Database (TSDB). While using the detected SQL Injection and insufficient processing of the include file path, it is possible to execute arbitrary code on the server. Exploitation of the vulnerability is possible for an authorized user. The vulnerable component is the `link.php`. Impact of the vulnerability execution of arbitrary code on the server.
CVE ProgramExploit source choices
1 sourceCacti RCE via SQLi in pollers.php
2023-12-20cacti_pollers_sqli_rce.rb