Exploit database

Vulnerability

CVE-2023-49085

Cacti SQL Injection vulnerability

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · GitHub_M

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

Cacti provides an operational monitoring and fault management framework. In versions 1.2.25 and prior, it is possible to execute arbitrary SQL code through the `pollers.php` script. An authorized user may be able to execute arbitrary SQL code. The vulnerable component is the `pollers.php`. Impact of the vulnerability - arbitrary SQL code execution. As of time of publication, a patch does not appear to exist.

CVE Program

Exploit source choices

1 source
Cacti RCE via SQLi in pollers.php
MSF-multi--http--cacti_pollers_sqli_rceMetasploitLinux,Unix,Windows / remotePreferred

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.

2023-12-20cacti_pollers_sqli_rce.rb