Description
SQL injection vulnerability in the host_new_graphs function in graphs_new.php in Cacti 0.8.8f and earlier allows remote authenticated users to execute arbitrary SQL commands via the cg_g parameter in a save action.
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.8f+ds1-4 | — |
| Debian 13 | cacti | 0.8.8f+ds1-4 | — |
| Debian 12 | cacti | 0.8.8f+ds1-4 | — |
| Debian 8 | cacti | 0.8.8b+dfsg-8+deb8u4 | DSA-3494-1 |
| Debian 7 | cacti | 0.8.8a+dfsg-5+deb7u8 | DSA-3494-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+squeeze9+deb6u14 | DLA-386-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | cacti | 0.8.8b+dfsg-5ubuntu0.2 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cacti | 0.8.8h-1.2 | openSUSE-SU-2024:10084-1 |
Advisories 3
- DLA-386-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3494-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10084-1 cacti-0.8.8h-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- GLSA-201607-05 vendor-advisory
- http://bugs.cacti.net/view.php?id=2652
- 1034573 vdb-entry
- [oss-security] 20160104 CVE Request: cacti: SQL injection vulnerability in graphs_new.php mailing-list
- http://packetstormsecurity.com/files/135191/Cacti-0.8.8f-graphs_new.php-SQL-Injection.html
- 20160108 [CVE-2015-8604] Cacti SQL injection in graphs_new.php mailing-list
- [oss-security] 20160104 Re: CVE Request: cacti: SQL injection vulnerability in graphs_new.php mailing-list
- DSA-3494 vendor-advisory