Name | CVE-2017-1000031 |
Description | SQL injection vulnerability in graph_templates_inputs.php in Cacti 0.8.8b allows remote attackers to execute arbitrary SQL commands via the graph_template_input_id and graph_template_id parameters. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cacti (PTS) | jessie, jessie (lts) | 0.8.8b+dfsg-8+deb8u10 | vulnerable |
| stretch (security), stretch (lts), stretch | 0.8.8h+ds1-10+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 1.2.2+ds1-2+deb10u6 | fixed |
| bullseye | 1.2.16+ds1-2+deb11u3 | fixed |
| bullseye (security) | 1.2.16+ds1-2+deb11u4 | fixed |
| bookworm | 1.2.24+ds1-1+deb12u4 | fixed |
| bookworm (security) | 1.2.24+ds1-1+deb12u2 | fixed |
| sid, trixie | 1.2.28+ds1-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
cacti | source | (unstable) | 0.8.8e+ds1-1 | | | |
Notes
[jessie] - cacti <ignored> (Minor issue, can be mitigated with Web Application Firewalls)
[wheezy] - cacti <ignored> (Minor issue, can be mitigated with Web Application Firewalls)
https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2016-007/?fid=7789
MITRE disagrees that this CVE is a duplicate of CVE-2014-4002 and CVE-2016-3172.
MITRE believes that CVE-2017-1000031 is a different vulnerability than
CVE-2014-4002 and CVE-2016-3172. This is because they seprate on vulnerability
type, so it cannot be a duplicate of CVE-2014-4002 despite sharing attack
vectors with this vulnerability, and covers different attack vectors than
CVE-2016-3172 despite sharing vulnerability type, and appears to be
independently fixable from said vulnerability based on the fix provided here:
https://github.com/Cacti/cacti/issues/866
According to https://github.com/Cacti/cacti/issues/866#issuecomment-316865448
the first issue was fixed by https://github.com/Cacti/cacti/commit/be800c9e552d2929106b576922e9693c83b4bd46
whereas the second issue was fixed by https://github.com/Cacti/cacti/commit/4e4dd6784adfc07b6011da999809d86a06f0f4e5
After the request to MITRE to reject this CVE, elbrus discovered that also
CVE-2015-4634 seems part of the duplication. Upstream commit 4e4dd67 was in the
preperation git tree for 1.x, its equivalent svn commit was used to fix
CVE-2015-4634 in Debian.