Bug 1317549 (CVE-2016-3172) - CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php
Summary: CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2016-3172
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1317550
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-14 14:11 UTC by Adam Mariš
Modified: 2019-09-29 13:45 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-08 02:49:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2016-03-14 14:11:10 UTC
An SQL injection vulnerability was found in cacti-0.8.8g.

Vulnerable code (/cacti/tree.php):

    switch ($current_type) {
    case TREE_ITEM_TYPE_HEADER:
        $i = 0;
        /* it's nice to default to the parent sorting style for new items */
        if (empty($_GET["id"])) {
            $default_sorting_type = db_fetch_cell("select
sort_children_type from graph_tree_items where id=" . $_GET["parent_id"]);
        }else{
            $default_sorting_type = TREE_ORDERING_NONE;
        }

CVE request (includes reproducer):

http://seclists.org/oss-sec/2016/q1/590

Comment 1 Adam Mariš 2016-03-14 14:11:33 UTC
Created cacti tracking bugs for this issue:

Affects: epel-all [bug 1317550]

Comment 2 Andrej Nemec 2016-03-16 09:22:20 UTC
CVE assignment:

http://seclists.org/oss-sec/2016/q1/651

Comment 3 Product Security DevOps Team 2019-06-08 02:49:43 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.