Description
Cross-site scripting (XSS) vulnerability in include/top_graph_header.php in Cacti before 0.8.7g allows remote attackers to inject arbitrary web script or HTML via the graph_start parameter to graph.php. NOTE: this vulnerability exists because of an incorrect fix for CVE-2009-4032.2.b.
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.7g-1 | — |
| Debian 13 | cacti | 0.8.7g-1 | — |
| Debian 12 | cacti | 0.8.7g-1 | — |
| Debian 6.0 | cacti | 0.8.7g-1+squeeze1 | DSA-2384-1 |
| Debian 5.0 | cacti | 0.8.7b-2.1+lenny4 | DSA-2384-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Cacti 0.8.7e - Multiple Vulnerabilities EDB-10234 · webapps · Nov 26, 2009 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- DSA-2384-1 cacti - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- MDVSA-2010:160 vendor-advisory
- [oss-security] 20100722 Cacti XSS fixes in 0.8.7g mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=541279
- http://cacti.net/release_notes_0_8_7g.php
- [oss-security] 20100726 Re: Cacti XSS fixes in 0.8.7g mailing-list
- http://svn.cacti.net/viewvc?view=rev&revision=6025
- http://svn.cacti.net/viewvc/cacti/branches/0.8.7/include/top_graph_header.php?r1=6025&r2=6024