SQL Injection Vulnerabilities in Cacti

cacti Updated 02 Oct 2025

Summary

16/12/2015
N/A
Yes i
Unrated
Not published

DSA-3423-1: cacti - security update. Affects cacti versions < 0.8.8a+dfsg-5+deb7u7. Fixed in 0.8.8a+dfsg-5+deb7u7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Cacti is an RRDTool frontend written in PHP that allows users to graph and monitor data from various sources. It is widely used for network monitoring and performance measurement. However, several SQL injection vulnerabilities have been discovered in Cacti, which can be exploited by attackers to execute arbitrary SQL commands on the database.

Vulnerability Detail

The SQL injection vulnerabilities in Cacti stem from insufficient input validation in the rra_id value of the graph.php script. By crafting specially designed input, an attacker can manipulate the SQL queries executed by the application, potentially gaining unauthorized access to the database or performing other malicious actions. This vulnerability poses a significant risk to the confidentiality, integrity, and availability of the Cacti installation.

How To Fix

Minimum fixed version

0.8.8a+dfsg-5+deb7u7

This is the first release that contains the fix.

sudo apt-get install --only-upgrade cacti

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

It is crucial to promptly address these SQL injection vulnerabilities in Cacti by upgrading to the patched versions. Failure to do so may expose your system to unauthorized access and potential data manipulation. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cacti →

Share this vulnerability

FAQ

Cacti is an RRDTool frontend written in PHP that allows users to graph and monitor data from various sources. It is commonly used for network monitoring and performance measurement.

An SQL injection vulnerability occurs when an application does not properly validate user-supplied input, allowing an attacker to manipulate SQL queries executed by the application. In the case of Cacti, this vulnerability can be exploited to execute arbitrary SQL commands on the database.

The SQL injection vulnerabilities in Cacti can lead to unauthorized access to the database, data manipulation, or other malicious actions. This can compromise the confidentiality, integrity, and availability of the Cacti installation.

To fix these vulnerabilities, you need to upgrade your Cacti installation to the patched versions mentioned earlier. Make sure to follow the recommended upgrade process for your specific distribution.

No specific workaround has been provided for these vulnerabilities. It is recommended to apply the patches and upgrade to the fixed versions as soon as possible.

Related vulnerabilities

Recent vulnerabilities recorded for cacti.

How To Fix

Minimum fixed version

0.8.8a+dfsg-5+deb7u7

This is the first release that contains the fix.

sudo apt-get install --only-upgrade cacti

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback