Description
Cacti through 1.2.7 is affected by a graphs.php?template_id= SQL injection vulnerability affecting how template identifiers are handled when a string and id composite value are used to identify the template type and id. An authenticated attacker can exploit this to extract data from the database, or an unauthenticated remote attacker could exploit this via Cross-Site Request Forgery.
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 | 1.2.8+ds1-1 | — |
| Debian 13 | cacti | 1.2.8+ds1-1 | — |
| Debian 12 | cacti | 1.2.8+ds1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 16.04 LTS | cacti | No fix yet | — |
| Ubuntu Pro 14.04 LTS | cacti | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | cacti +1 | 1.2.9-bp151.4.3.1 | openSUSE-SU-2020:0565-1, openSUSE-SU-2020:0284-1 |
| SUSE Package Hub 12 | cacti | 1.2.11-5.1 | openSUSE-SU-2020:0558-1 |
| SUSE Package Hub 12 | cacti-spine | 1.2.11-2.1 | openSUSE-SU-2020:0558-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | cacti | 1.2.18-1.2 | openSUSE-SU-2024:10670-1 |
| openSUSE Leap 15.1 | cacti +1 | 1.2.9-lp151.3.3.1 | openSUSE-SU-2020:0558-1, openSUSE-SU-2020:0272-1 |
Advisories 5
- openSUSE-SU-2020:0565-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0558-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:10670-1 cacti-1.2.18-1.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0272-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0284-1 Security update for cacti, cacti-spine SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://www.darkmatter.ae/xen1thlabs/
- https://github.com/Cacti/cacti/issues/3025
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=947374
- openSUSE-SU-2020:0272 vendor-advisory
- openSUSE-SU-2020:0284 vendor-advisory
- GLSA-202003-40 vendor-advisory
- openSUSE-SU-2020:0558 vendor-advisory
- openSUSE-SU-2020:0565 vendor-advisory