module

Cacti RCE via SQLi in pollers.php

Disclosed
2023-12-20
Created
2024-02-02

Description

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.

Authors

Aleksey Solovev
Christophe De La Fuente

Platform

Windows

Architectures

cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands ‘show options’ or ‘show advanced’:


msf > use exploit/multi/http/cacti_pollers_sqli_rce
msf exploit(cacti_pollers_sqli_rce) > show targets
...targets...
msf exploit(cacti_pollers_sqli_rce) > set TARGET < target-id >
msf exploit(cacti_pollers_sqli_rce) > show options
...show and set options...
msf exploit(cacti_pollers_sqli_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.