CVE-2009-4032: Cross-Site Scripting in Cacti 0.8.7e
- Vendor
- Cacti
CVE-2009-4032 is a set of multiple cross-site scripting vulnerabilities in Cacti 0.8.7e. The flaws affect several PHP components, including graph rendering and UI-related code paths associated with graph.php, include/top_graph_header.php, lib/html_form.php, and lib/timespan_settings.php. Insufficient validation or output encoding of user-supplied input allows remote attackers to inject arbitrary web script or HTML through crafted request parameters, including parameters used for graph date ranges, tree actions, refresh behavior, and pane width settings. Successful exploitation results in script execution in the browser of a user interacting with the affected Cacti web interface.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an attacker to execute arbitrary script in the context of the affected Cacti application within a victim user's browser session. This can enable session hijacking, theft of application data visible to the victim, unauthorized actions performed with the victim's privileges, interface manipulation, and delivery of further client-side payloads. Impact depends on the privileges of the targeted user, with administrative users presenting the highest risk.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, restrict access to the Cacti web interface to trusted administrators and management networks, reduce exposure of the application to untrusted users, and monitor for suspicious requests containing script payloads in graph, date, refresh, or UI-related parameters. Additional defensive measures include enforcing strong session protections and using browser-side controls such as Content Security Policy where feasible, though these do not replace patching.
Remediation
Patch, then assume compromise.
Upgrade Cacti to a fixed version provided by the vendor or downstream distributor. Debian fixes were issued in updated package versions for supported releases. Apply the latest available security update for the deployed branch and verify that all affected PHP components are replaced with patched versions that properly validate and encode user-controlled input.
Exploits
No validated public exploits yet. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2009-4032 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2009-4032 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2009-4032?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2009-4032. 2 candidate exploit records are not yet analyzed.
- Is there a patch for CVE-2009-4032?
- Upgrade Cacti to a fixed version provided by the vendor or downstream distributor. Debian fixes were issued in updated package versions for supported releases.
- What products are affected by CVE-2009-4032?
- Cacti.
- How severe is CVE-2009-4032?
- CVE-2009-4032 has a CVSS v2 score of 4.3 (Medium) and an EPSS score of 5.7% (93rd percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.