Description
The graph settings script (graph_settings.php) in Cacti 0.8.8b and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in a font size, related to the rrdtool commandline in lib/rrd.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.8b+dfsg-8 | — |
| Debian 13 | cacti | 0.8.8b+dfsg-8 | — |
| Debian 12 | cacti | 0.8.8b+dfsg-8 | — |
| Debian 7 | cacti | 0.8.8a+dfsg-5+deb7u4 | DSA-3007-1 |
| Debian 6.0 | cacti | 0.8.7g-1+squeeze5 | DLA-40-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | cacti | 0.8.8b+dfsg-5ubuntu0.1 | — |
Advisories 2
- DSA-3007-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-40-1 cacti - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- GLSA-201607-05 vendor-advisory
- DSA-3007 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1127165
- [oss-security] 20140812 CVE id request: cacti remote code execution and SQL injection mailing-list
- cacti-multiple-unspecified(95292) vdb-entry
- http://svn.cacti.net/viewvc?view=rev&revision=7454
- 69213 vdb-entry
- [oss-security] 20140816 Re: CVE id request: cacti remote code execution and SQL injection mailing-list