CVE-2008-0785
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
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 withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Cacti 0.8.7 - '/index.php/sql.php?Login Action login_username' SQL Injection
Cacti 0.8.7 - 'graph_view.php?graph_list' SQL Injection
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
Cacti 0.8.7 - 'graph_xport.php?local_graph_id' SQL Injection
Cacti 0.8.7 - 'tree.php' Multiple SQL Injections
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed 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.