CVE-2008-0785
published 2008-02-14CVE-2008-0785: 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…
PriorityP341high7.5CVSS 2.0
AVNACLAuNCPIPAP
EXPLOIT
EPSS
3.44%
87.5th percentile
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.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | — | — |
| cacti | cacti | >= 0 < 0.8.7b-1 | 0.8.7b-1 |
| cacti | cacti | >= 0 < 0.8.7b-1 | 0.8.7b-1 |
| cacti | cacti | >= 0 < 0.8.7b-1 | 0.8.7b-1 |
| cacti | cacti | >= 0 < 0.8.7b-1 | 0.8.7b-1 |
| debian | cacti | < cacti 0.8.7b-1 (bookworm) | cacti 0.8.7b-1 (bookworm) |
CVSS provenance
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv7.5HIGH
vendor_debian7.5LOW
vendor_redhat4.3MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-5mjg-w552-cfpq: Multiple SQL injection vulnerabilities in Cacti 0
ghsa_unreviewed·2022-05-01
CVE-2008-0785 [HIGH] CWE-89 GHSA-5mjg-w552-cfpq: Multiple SQL injection vulnerabilities in Cacti 0
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.
OSV
CVE-2008-0785: Multiple SQL injection vulnerabilities in Cacti 0
osv·2008-02-14·CVSS 7.5
CVE-2008-0785 [HIGH] CVE-2008-0785: Multiple SQL injection vulnerabilities in Cacti 0
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.
Debian
CVE-2008-0785: cacti - Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 be...
vendor_debian·2008·CVSS 7.5
CVE-2008-0785 [HIGH] CVE-2008-0785: cacti - Multiple SQL injection vulnerabilities in Cacti 0.8.7 before 0.8.7b and 0.8.6 be...
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.
Scope: local
bookworm: resolved (fixed in 0.8.7b-1)
bullseye: resolved (fixed in 0.8.7b-1)
forky: resolved (fixed in 0.8.7b-1)
sid: resolved (fixed in 0.8.7b-1)
trixie: resolved (fixed in 0.8.7b-1)
Red Hat
cacti: multiple input saintization issues (CVE-2008-0783, CVE-2008-0784, CVE-2008-0785, CVE-2008-0786)
vendor_redhat·CVSS 4.3
CVE-2008-0785 [MEDIUM] cacti: multiple input saintization issues (CVE-2008-0783, CVE-2008-0784, CVE-2008-0785, CVE-2008-0786)
cacti: multiple input saintization issues (CVE-2008-0783, CVE-2008-0784, CVE-2008-0785, CVE-2008-0786)
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.
Suricata
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id DELETE
suricata·2010-07-30·CVSS 7.5
CVE-2008-0785 [HIGH] ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id DELETE
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id DELETE
Rule: alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id DELETE"; flow:established,to_server; http.uri; content:"tree.php?"; nocase; content:"leaf_id="; nocase; content:"DELETE"; nocase; content:"FROM"; nocase; distance:0; reference:cve,CVE-2008-0785; reference:bugtraq,27749; classtype:web-application-attack; sid:2007896; rev:10; metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2010_07_30, deployment Datacenter, signature_severity Major, tag SQL_Injection, updated_at 2020_09_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_
Suricata
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id INSERT
suricata·2010-07-30·CVSS 7.5
CVE-2008-0785 [HIGH] ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id INSERT
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id INSERT
Rule: alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id INSERT"; flow:established,to_server; http.uri; content:"tree.php?"; nocase; content:"leaf_id="; nocase; content:"INSERT"; nocase; content:"INTO"; nocase; distance:0; reference:cve,CVE-2008-0785; reference:bugtraq,27749; classtype:web-application-attack; sid:2007895; rev:10; metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2010_07_30, deployment Datacenter, signature_severity Major, tag SQL_Injection, updated_at 2020_09_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_
Suricata
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id SELECT
suricata·2010-07-30·CVSS 7.5
CVE-2008-0785 [HIGH] ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id SELECT
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id SELECT
Rule: alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id SELECT"; flow:established,to_server; http.uri; content:"tree.php?"; nocase; content:"leaf_id="; nocase; content:"SELECT"; nocase; content:"FROM"; nocase; distance:0; reference:cve,CVE-2008-0785; reference:bugtraq,27749; classtype:web-application-attack; sid:2007893; rev:10; metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2010_07_30, deployment Datacenter, signature_severity Major, tag SQL_Injection, updated_at 2020_09_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_
Suricata
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UPDATE
suricata·2010-07-30·CVSS 7.5
CVE-2008-0785 [HIGH] ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UPDATE
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UPDATE
Rule: alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UPDATE"; flow:established,to_server; http.uri; content:"tree.php?"; nocase; content:"leaf_id="; nocase; content:"UPDATE"; nocase; content:"SET"; nocase; distance:0; reference:cve,CVE-2008-0785; reference:bugtraq,27749; classtype:web-application-attack; sid:2007897; rev:11; metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2010_07_30, deployment Datacenter, signature_severity Major, tag SQL_Injection, updated_at 2020_09_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_F
Suricata
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UNION SELECT
suricata·2010-07-30·CVSS 7.5
CVE-2008-0785 [HIGH] ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UNION SELECT
ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UNION SELECT
Rule: alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SPECIFIC_APPS Cacti SQL Injection Vulnerability tree.php leaf_id UNION SELECT"; flow:established,to_server; http.uri; content:"tree.php?"; nocase; content:"leaf_id="; nocase; content:"UNION"; nocase; content:"SELECT"; nocase; distance:0; reference:cve,CVE-2008-0785; reference:bugtraq,27749; classtype:web-application-attack; sid:2007894; rev:10; metadata:affected_product Web_Server_Applications, attack_target Web_Server, created_at 2010_07_30, deployment Datacenter, signature_severity Major, tag SQL_Injection, updated_at 2020_09_10, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Ex
Exploit-DB
Cacti 0.8.7 - '/index.php/sql.php?Login Action login_username' SQL Injection
exploitdb·2008-02-12
CVE-2008-0785 Cacti 0.8.7 - '/index.php/sql.php?Login Action login_username' SQL Injection
Cacti 0.8.7 - '/index.php/sql.php?Login Action login_username' 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.
$ curl -kis "http://www.example.com/cacti-0.8.7a/index.php/sql.php" -d \
"log
Exploit-DB
Cacti 0.8.7 - 'tree.php' Multiple SQL Injections
exploitdb·2008-02-12
CVE-2008-0785 Cacti 0.8.7 - 'tree.php' Multiple SQL Injections
Cacti 0.8.7 - 'tree.php' Multiple SQL Injections
---
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/tree.php?action=edit&id=1&subaction=foo&leaf_id=1%20or%201%20=%201
curl "htt
Exploit-DB
Cacti 0.8.7 - 'graph_view.php?graph_list' SQL Injection
exploitdb·2008-02-12
CVE-2008-0785 Cacti 0.8.7 - 'graph_view.php?graph_list' 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
Exploit-DB
Cacti 0.8.7 - 'graph_xport.php?local_graph_id' SQL Injection
exploitdb·2008-02-12
CVE-2008-0785 Cacti 0.8.7 - 'graph_xport.php?local_graph_id' SQL Injection
Cacti 0.8.7 - 'graph_xport.php?local_graph_id' 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.
curl "http://www.example.com/cacti/graph_xport.php?local_graph_id=1" -d \
"local_graph_id=1'"
http://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.htmlhttp://secunia.com/advisories/28872http://secunia.com/advisories/28976http://secunia.com/advisories/29242http://secunia.com/advisories/29274http://secunia.com/advisories/30045http://security.gentoo.org/glsa/glsa-200803-18.xmlhttp://securityreason.com/securityalert/3657http://www.cacti.net/release_notes_0_8_7b.phphttp://www.debian.org/security/2008/dsa-1569http://www.mandriva.com/security/advisories?name=MDVSA-2008:052http://www.securityfocus.com/archive/1/488013/100/0/threadedhttp://www.securityfocus.com/archive/1/488018/100/0/threadedhttp://www.securityfocus.com/bid/27749http://www.securitytracker.com/id?1019414http://www.vupen.com/english/advisories/2008/0540https://bugzilla.redhat.com/show_bug.cgi?id=432758https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00570.htmlhttps://www.redhat.com/archives/fedora-package-announce/2008-February/msg00593.htmlhttp://lists.opensuse.org/opensuse-security-announce/2008-03/msg00001.htmlhttp://secunia.com/advisories/28872http://secunia.com/advisories/28976http://secunia.com/advisories/29242http://secunia.com/advisories/29274http://secunia.com/advisories/30045http://security.gentoo.org/glsa/glsa-200803-18.xmlhttp://securityreason.com/securityalert/3657http://www.cacti.net/release_notes_0_8_7b.phphttp://www.debian.org/security/2008/dsa-1569http://www.mandriva.com/security/advisories?name=MDVSA-2008:052http://www.securityfocus.com/archive/1/488013/100/0/threadedhttp://www.securityfocus.com/archive/1/488018/100/0/threadedhttp://www.securityfocus.com/bid/27749http://www.securitytracker.com/id?1019414http://www.vupen.com/english/advisories/2008/0540https://bugzilla.redhat.com/show_bug.cgi?id=432758https://www.redhat.com/archives/fedora-package-announce/2008-February/msg00570.htmlhttps://www.redhat.com/archives/fedora-package-announce/2008-February/msg00593.html
2008-02-14
Published