CVE-2016-3172
published 2016-04-12CVE-2016-3172: SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id…
PriorityP352high8.8CVSS 3.0
AVNACLPRLUINSUCHIHAH
EPSS
2.83%
85.1th percentile
SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id parameter in an item_edit action.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cacti | cacti | <= 0.8.8g | — |
| cacti | cacti | >= 0 < 0.8.8g+ds1-2 | 0.8.8g+ds1-2 |
| cacti | cacti | >= 0 < 0.8.8g+ds1-2 | 0.8.8g+ds1-2 |
| cacti | cacti | >= 0 < 0.8.8g+ds1-2 | 0.8.8g+ds1-2 |
| cacti | cacti | >= 0 < 0.8.8g+ds1-2 | 0.8.8g+ds1-2 |
| debian | cacti | < cacti 0.8.8g+ds1-2 (bookworm) | cacti 0.8.8g+ds1-2 (bookworm) |
| msrc | windows_10_for_32-bit_systems | — | — |
| msrc | windows_10_for_x64-based_systems | — | — |
| msrc | windows_10_version_1511_for_32-bit_systems | — | — |
| msrc | windows_10_version_1511_for_x64-based_systems | — | — |
| msrc | windows_8.1_for_32-bit_systems | — | — |
| msrc | windows_8.1_for_x64-based_systems | — | — |
| msrc | windows_rt_8.1 | — | — |
| msrc | windows_server_2012 | — | — |
| msrc | windows_server_2012_r2 | — | — |
CVSS provenance
nvdv3.08.8HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.06.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:P
osv8.8HIGH
vendor_debian8.8HIGH
vendor_msrc6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
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-3pph-g5w6-c57w: SQL injection vulnerability in tree
ghsa_unreviewed·2022-05-17
CVE-2016-3172 [HIGH] CWE-89 GHSA-3pph-g5w6-c57w: SQL injection vulnerability in tree
SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id parameter in an item_edit action.
OSV
CVE-2016-3172: SQL injection vulnerability in tree
osv·2016-04-12·CVSS 8.8
CVE-2016-3172 [HIGH] CVE-2016-3172: SQL injection vulnerability in tree
SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id parameter in an item_edit action.
Debian
CVE-2016-3172: cacti - SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remot...
vendor_debian·2016·CVSS 8.8
CVE-2016-3172 [HIGH] CVE-2016-3172: cacti - SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remot...
SQL injection vulnerability in tree.php in Cacti 0.8.8g and earlier allows remote authenticated users to execute arbitrary SQL commands via the parent_id parameter in an item_edit action.
Scope: local
bookworm: resolved (fixed in 0.8.8g+ds1-2)
bullseye: resolved (fixed in 0.8.8g+ds1-2)
forky: resolved (fixed in 0.8.8g+ds1-2)
sid: resolved (fixed in 0.8.8g+ds1-2)
trixie: resolved (fixed in 0.8.8g+ds1-2)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php
bugzilla·2016-03-14·CVSS 8.8
CVE-2016-3172 [HIGH] CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php
CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php
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
Discussion:
Created cacti tracking bugs for this issue:
Affects: epel-all [bug 1317550]
---
CVE assignment:
http://seclists.org/oss-sec/2016/q1/651
---
This CVE Bugzilla entry is for community support informational purpos
Bugzilla
CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php [epel-all]
bugzilla·2016-03-14·CVSS 8.8
CVE-2016-3172 [HIGH] CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php [epel-all]
CVE-2016-3172 cacti: SQL injection vulnerability in /cacti/tree.php [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versio
http://bugs.cacti.net/view.php?id=2667http://lists.opensuse.org/opensuse-updates/2016-05/msg00074.htmlhttp://www.openwall.com/lists/oss-security/2016/03/10/13http://www.openwall.com/lists/oss-security/2016/03/15/11http://www.securityfocus.com/bid/84324https://security.gentoo.org/glsa/201607-05http://bugs.cacti.net/view.php?id=2667http://lists.opensuse.org/opensuse-updates/2016-05/msg00074.htmlhttp://www.openwall.com/lists/oss-security/2016/03/10/13http://www.openwall.com/lists/oss-security/2016/03/15/11http://www.securityfocus.com/bid/84324https://security.gentoo.org/glsa/201607-05
2016-04-12
Published