CVE-2008-0785

unknown
Published — · Modified —
CVSS v3
CVSS v4 NEW
not yet in upstream
VIR risk
1.0

Description

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.

Predictions

Exploit likelihood
20%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.

✚ Propose a mitigation on Community → Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-31161 webapps php verified
aScii · 2008-02-12

Cacti 0.8.7 - '/index.php/sql.php?Login Action login_username' SQL Injection

Source code queued for fetch — refresh in a moment.
EDB-31156 webapps php verified text · 1 KB
aScii · 2008-02-12

Cacti 0.8.7 - 'graph_view.php?graph_list' SQL Injection

text exploit Source: Exploit-DB
source: https://www.securityfocus.com/bid/27749/info

Cacti is prone to multiple unspecified input-validation vulnerabilities, including:

- Multiple cross-site scripting vulnerabilities
- Multiple SQL-injection vulnerabilities
- An HTTP response-splitting vulnerability.

Attackers may exploit these vulnerabilities to influence or misrepresent how web content is served, cached, or interpreted, to compromise the application, to access or modify data, to exploit vulnerabilities in the underlying database, or to execute arbitrary script code in the browser of an unsuspecting user.

These issues affect Cacti 0.8.7a and prior versions. 

http://www.example.com/cacti/graph_view.php?action=preview&style=selective&graph_list=bla'%20or%20'1'='1
EDB-31160 webapps php verified
aScii · 2008-02-12

Cacti 0.8.7 - 'graph_xport.php?local_graph_id' SQL Injection

Source code queued for fetch — refresh in a moment.
EDB-31159 webapps php verified
aScii · 2008-02-12

Cacti 0.8.7 - 'tree.php' Multiple SQL Injections

Source code queued for fetch — refresh in a moment.

OS impact

debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 0.8.7b-1
sid Fixed 0.8.7b-1
forky Fixed 0.8.7b-1
bullseye Fixed 0.8.7b-1
bookworm Fixed 0.8.7b-1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.