Description
SQL injection vulnerability in the get_hash_graph_template function in lib/functions.php in Cacti before 0.8.8d allows remote attackers to execute arbitrary SQL commands via the graph_template_id parameter to graph_templates.php.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | cacti | 0.8.8d+ds1-1 | — |
| Debian 13 | cacti | 0.8.8d+ds1-1 | — |
| Debian 12 | cacti | 0.8.8d+ds1-1 | — |
| Debian 8 | cacti | 0.8.8b+dfsg-8+deb8u1 | DSA-3295-1 |
| Debian 7 | cacti | 0.8.8a+dfsg-5+deb7u5 | DSA-3295-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | cacti | 0.8.7g-1+squeeze6 | DLA-255-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | cacti | 0.8.8b+dfsg-5ubuntu0.1 | — |
Advisories 2
- DLA-255-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3295-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- FEDORA-2016-a8e2be0fe6 vendor-advisory
- http://www.cacti.net/release_notes_0_8_8d.php
- http://bugs.cacti.net/view.php?id=2572
- FEDORA-2016-852a39e085 vendor-advisory
- 75270 vdb-entry
- DSA-3295 vendor-advisory
- FEDORA-2016-4a5ce6a6c0 vendor-advisory