Tuesday, November 12, 2024
HomeCVE/vulnerabilityCacti Blind SQL Injection Flaw Enables Remote Code Execution

Cacti Blind SQL Injection Flaw Enables Remote Code Execution

Published on

Malware protection

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.

- Advertisement - SIEM as a Service
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

10 Best DNS Management Tools – 2025

Best DNS Management Tools play a crucial role in efficiently managing domain names and...

Sweet Security Announces Availability of its Cloud Native Detection & Response Platform on the AWS Marketplace

Customers can now easily integrate Sweet’s runtime detection and response platform into their AWS...

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Free Webinar

Protect Websites & APIs from Malware Attack

Malware targeting customer-facing websites and API applications poses significant risks, including compliance violations, defacements, and even blacklisting.

Join us for an insightful webinar featuring Vivek Gopalan, VP of Products at Indusface, as he shares effective strategies for safeguarding websites and APIs against malware.

Discussion points

Scan DOM, internal links, and JavaScript libraries for hidden malware.
Detect website defacements in real time.
Protect your brand by monitoring for potential blacklisting.
Prevent malware from infiltrating your server and cloud infrastructure.

More like this

Researchers Detailed Credential Abuse Cycle

Cybercriminals exploit leaked credentials, obtained through various means, to compromise systems and data, enabling...

New Android Malware SpyAgent Taking Screenshots Of User’s Devices

SpyAgent, a newly discovered Android malware, leverages OCR technology to extract cryptocurrency recovery phrases...

Tor Network Suffers IP Spoofing Attack Via Non-Exit Relays

In late October 2024, a coordinated IP spoofing attack targeted the Tor network, prompting...