Cacti up to 0.8.7a Login graph_view.php login_username sql injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.6$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, has been found in Cacti. Affected by this vulnerability is an unknown functionality of the file graph_view.php of the component Login. The manipulation of the argument login_username leads to sql injection. This vulnerability is listed as CVE-2008-0785. The attack may be initiated remotely. In addition, an exploit is available. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Cacti (Log Management Software) and classified as critical. This issue affects an unknown functionality of the file graph_view.php of the component Login. The manipulation of the argument login_username with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:

Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 before 0.8.6k allow remote authenticated users to execute arbitrary SQL commands via the (1) graph_list parameter to graph_view.php, (2) leaf_id and id parameters to tree.php, (3) local_graph_id parameter to graph_xport.php, and (4) login_username parameter to index.php/login.

The weakness was presented 02/14/2008 by Francesco "aScii" Ongaro (Website). It is possible to read the advisory at securityfocus.com. The identification of this vulnerability is CVE-2008-0785 since 02/14/2008. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1505 according to MITRE ATT&CK.

The exploit is available at securityfocus.com. It is declared as proof-of-concept. By approaching the search of inurl:graph_view.php it is possible to find vulnerable targets with Google Hacking. The vulnerability scanner Nessus provides a plugin with the ID 31048 (Cacti index.php/sql.php Login Action login_username Parameter SQL Injection), which helps to determine the existence of the flaw in a target environment. It is assigned to the family CGI abuses and running in the context r. The commercial vulnerability scanner Qualys is able to test this issue with plugin 165709 (SUSE Enterprise Linux Security Update (SUSE-SR:2008:005)).

Upgrading to version 0.8.6j eliminates this vulnerability.

The vulnerability is also documented in the databases at X-Force (40452), Exploit-DB (31161), Tenable (31048), SecurityFocus (BID 27749†) and OSVDB (41783†). See VDB-3520, VDB-25650, VDB-32045 and VDB-36698 for similar entries. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 6.6

VulDB Base Score: 7.3
VulDB Temp Score: 6.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 31048
Nessus Name: Cacti index.php/sql.php Login Action login_username Parameter SQL Injection
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 100213
OpenVAS Name: Cacti Multiple Input Validation Vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Cacti 0.8.6j
Suricata ID: 2007889
Suricata Class: 🔍
Suricata Message: 🔍

Timelineinfo

02/12/2008 🔍
02/13/2008 +1 days 🔍
02/14/2008 +1 days 🔍
02/14/2008 +0 days 🔍
02/14/2008 +0 days 🔍
02/14/2008 +0 days 🔍
02/14/2008 +0 days 🔍
02/18/2008 +4 days 🔍
03/16/2015 +2583 days 🔍
04/12/2025 +3680 days 🔍

Sourcesinfo

Advisory: securityfocus.com
Researcher: Francesco "aScii" Ongaro
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-0785 (🔍)
GCVE (CVE): GCVE-0-2008-0785
GCVE (VulDB): GCVE-100-41063

OVAL: 🔍

X-Force: 40452
SecurityFocus: 27749 - Cacti Multiple Input Validation Vulnerabilities
Secunia: 28872
OSVDB: 41783 - Cacti tree.php Multiple Parameter SQL Injection
SecurityTracker: 1019414
Vulnerability Center: 17667 - Cacti Allows Remote Authenticated Users to Inject Arbitrary SQL Commands, High
Vupen: ADV-2008-0540

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/16/2015 13:43
Updated: 04/12/2025 17:05
Changes: 03/16/2015 13:43 (82), 08/05/2019 17:03 (10), 04/12/2025 17:05 (17)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!