Executive Summary

Summary
TitleNew cacti packages fix SQL injection
Informations
NameDSA-2060First vendor Publication2010-06-13
VendorDebianLast vendor Modification2010-06-13
Severity (Vendor) N/ARevision1

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:L/Au:N/C:P/I:P/A:P)
Cvss Base Score7.5Attack RangeNetwork
Cvss Impact Score6.4Attack ComplexityLow
Cvss Expoit Score10AuthentificationNone Required
Calculate full CVSS 2.0 Vectors scores

Detail

Stefan Esser discovered that cacti, a front-end to rrdtool for monitoring systems and services, is not properly validating input passed to the rra_id parameter of the graph.php script. Due to checking the input of $_REQUEST but using $_GET input in a query an unauthenticated attacker is able to perform SQL injections via a crafted rra_id $_GET value and an additional valid rra_id $_POST or $_COOKIE value.



For the stable distribution (lenny), this problem has been fixed in version 0.8.7b-2.1+lenny3.

For the testing distribution (squeeze), this problem will be fixed soon.

For the unstable distribution (sid), this problem has been fixed in version 0.8.7e-4.



We recommend that you upgrade your cacti packages.

Original Source

Url : http://www.debian.org/security/2010/dsa-2060

CWE : Common Weakness Enumeration

idName
CWE-89Improper Sanitization of Special Elements used in an SQL Command ('SQL Injection')

CPE : Common Platform Enumeration

TypeDescriptionCount
Application37

Open Source Vulnerability Database (OSVDB)

idDescription
64964Cacti graph.php rra_id Parameter SQL Injection