Friday, February 7, 2025
HomeCVE/vulnerabilityCacti Blind SQL Injection Flaw Enables Remote Code Execution

Cacti Blind SQL Injection Flaw Enables Remote Code Execution

Published on

SIEM as a Service

Follow Us on Google News

Cacti, the performance and fault management framework, has been discovered with a blind SQL injection vulnerability, which could reveal Cacti database contents or trigger remote code execution. 

The CVE for this vulnerability has been assigned with CVE-2023-51448, and the severity has been given as 8.8 (High).

This vulnerability existed due to insufficient sanitization of a parameter. However, Cacti has swiftly upon this vulnerability and patched this vulnerability.

Document
Free Webinar

Fastrack Compliance: The Path to ZERO-Vulnerability

Compounding the problem are zero-day vulnerabilities like the MOVEit SQLi, Zimbra XSS, and 300+ such vulnerabilities that get discovered each month. Delays in fixing these vulnerabilities lead to compliance issues, these delay can be minimized with a unique feature on AppTrana that helps you to get “Zero vulnerability report” within 72 hours.

 Cacti Blind SQL Injection Flaw

An authenticated threat actor with any account that has the privilege to “Settings/Utilities” could exploit this vulnerability by sending a crafted HTTP GET request to the “/managers.php” endpoint, which could result in the SQLi payload being executed.

The parameter is vulnerable to this SQL injection attack has been identified as ‘selected_graph_array.’

Vulnerable Code
Vulnerable Code (Source: GitHub)

According to the reports shared with Cyber Security News, this vulnerability arises due to the function ‘form_actions’ in the file ‘managers.php.’ In addition to this, the ‘get_nfilter_request_var’ does not perform sanitization when deserializing the provided value. 

It was also stated that the ‘cacti_unserialize’ function uses the ‘allowed_classes’ argument to remove any PHP Object Injection vectors but does not perform any sanitization on the deserialized value.

Hence, the flow of this attack would start with the attacker sending a serialized array which has the SQLi payload deserialized to an in-memory array followed by joining it into a single string and concatenating it into a raw SQL query—this query, when executed in the database, results in exposing sensitive information.

Moreover, the impact of this vulnerability may vary based on the configuration of the Cacti database, which could even result in arbitrary file reading and writing.

Furthermore, this vulnerability can also be escalated to Remote code execution, as demonstrated in another vulnerability, CVE-2023-49084

Users of Cacti are recommended to upgrade to the patched version to prevent this vulnerability from getting exploited by threat actors.

Eswar
Eswar
Eswar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Latest articles

Dell Update Manager Plugin Flaw Exposes Sensitive Data

Dell Technologies has issued a security advisory (DSA-2025-047) to address a vulnerability in the Dell Update...

DeepSeek iOS App Leaks Data to ByteDance Servers Without Encryption

DeepSeek iOS app—a highly popular AI assistant recently crowned as the top iOS app...

Critical Flaws in HPE Aruba ClearPass Expose Systems to Arbitrary Code Execution

Hewlett Packard Enterprise (HPE) has issued a high-priority security bulletin addressing multiple vulnerabilities in...

Splunk Introduces “DECEIVE” an AI-Powered Honeypot to Track Cyber Threats

Splunk has unveiled DECEIVE (DECeption with Evaluative Integrated Validation Engine), an innovative, AI-augmented honeypot that mimics...

Supply Chain Attack Prevention

Free Webinar - Supply Chain Attack Prevention

Recent attacks like Polyfill[.]io show how compromised third-party components become backdoors for hackers. PCI DSS 4.0’s Requirement 6.4.3 mandates stricter browser script controls, while Requirement 12.8 focuses on securing third-party providers.

Join Vivekanand Gopalan (VP of Products – Indusface) and Phani Deepak Akella (VP of Marketing – Indusface) as they break down these compliance requirements and share strategies to protect your applications from supply chain attacks.

Discussion points

Meeting PCI DSS 4.0 mandates.
Blocking malicious components and unauthorized JavaScript execution.
PIdentifying attack surfaces from third-party dependencies.
Preventing man-in-the-browser attacks with proactive monitoring.

More like this

Dell Update Manager Plugin Flaw Exposes Sensitive Data

Dell Technologies has issued a security advisory (DSA-2025-047) to address a vulnerability in the Dell Update...

DeepSeek iOS App Leaks Data to ByteDance Servers Without Encryption

DeepSeek iOS app—a highly popular AI assistant recently crowned as the top iOS app...

Critical Flaws in HPE Aruba ClearPass Expose Systems to Arbitrary Code Execution

Hewlett Packard Enterprise (HPE) has issued a high-priority security bulletin addressing multiple vulnerabilities in...