CVE-2008-0785 : Detail

CVE-2008-0785

SQL Injection
A03-Injection
0.68%V3
Network
2008-02-14
21h00 +00:00
2018-10-15
18h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

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.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
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. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Metrics

Metrics Score Severity CVSS Vector Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 31161

Publication date : 2008-02-11 23h00 +00:00
Author : aScii
EDB Verified : Yes

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 \ "login_username=foo'+or+ascii(substring(password,1,1))>56#&action=login" \ | head -n1 HTTP/1.1 200 OK $ curl -kis "http://www.example.com/cacti-0.8.7a/index.php/sql.php" -d \ "login_username=foo'+or+ascii(substring(password,1,1))<56#&action=login" \ | head -n1 HTTP/1.1 302 Found
Exploit Database EDB-ID : 31156

Publication date : 2008-02-11 23h00 +00:00
Author : aScii
EDB Verified : Yes

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
Exploit Database EDB-ID : 31160

Publication date : 2008-02-11 23h00 +00:00
Author : aScii
EDB Verified : Yes

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'" -H "Cookie: Cacti=<cookie value>"
Exploit Database EDB-ID : 31159

Publication date : 2008-02-11 23h00 +00:00
Author : aScii
EDB Verified : Yes

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 "http://www.example.com/cacti/tree.php?action=edit&id=1" -d \ "id=sql'" -H "Cookie: Cacti=<cookie value>"

Products Mentioned

Configuraton 0

Cacti>>Cacti >> Version 0.6.7

    Cacti>>Cacti >> Version 0.8

    Cacti>>Cacti >> Version 0.8.1

    Cacti>>Cacti >> Version 0.8.2

    Cacti>>Cacti >> Version 0.8.2a

    Cacti>>Cacti >> Version 0.8.3

    Cacti>>Cacti >> Version 0.8.3a

    Cacti>>Cacti >> Version 0.8.4

    Cacti>>Cacti >> Version 0.8.5

    Cacti>>Cacti >> Version 0.8.5a

    Cacti>>Cacti >> Version 0.8.6c

    Cacti>>Cacti >> Version 0.8.6f

    Cacti>>Cacti >> Version 0.8.6i

    Cacti>>Cacti >> Version 0.8.6j

    Cacti>>Cacti >> Version 0.8.7

    Cacti>>Cacti >> Version 0.8.7a

    References

    http://secunia.com/advisories/29242
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://securityreason.com/securityalert/3657
    Tags : third-party-advisory, x_refsource_SREASON
    http://security.gentoo.org/glsa/glsa-200803-18.xml
    Tags : vendor-advisory, x_refsource_GENTOO
    http://secunia.com/advisories/28872
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://www.mandriva.com/security/advisories?name=MDVSA-2008:052
    Tags : vendor-advisory, x_refsource_MANDRIVA
    http://secunia.com/advisories/30045
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://secunia.com/advisories/29274
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://www.vupen.com/english/advisories/2008/0540
    Tags : vdb-entry, x_refsource_VUPEN
    http://www.securityfocus.com/bid/27749
    Tags : vdb-entry, x_refsource_BID
    http://www.debian.org/security/2008/dsa-1569
    Tags : vendor-advisory, x_refsource_DEBIAN
    http://secunia.com/advisories/28976
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://www.securitytracker.com/id?1019414
    Tags : vdb-entry, x_refsource_SECTRACK