Cacti templates_import.php cross-site scripting

cacti-templatesimport-xss (61227) The risk level is classified as MediumMedium Risk

Description:

Cacti is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the templates_import.php script. A remote attacker could exploit this vulnerability using various object names or descriptions to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

*CVSS:

Base Score: 4.3
  Access Vector: Network
  Access Complexity: Medium
  Authentication: None
  Confidentiality Impact: None
  Integrity Impact: Partial
  Availability Impact: None
 
Temporal Score: 3.7
  Exploitability: High
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Upgrade to the latest version of Cacti (0.8.7g or later), available from the Cacti Web site. Web site. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • Cacti Web site: Index of /downloads.
  • Red Hat Bugzilla Bug 459229 : (CVE-2010-2545) CVE-2010-2545 cacti: XSS via various object names or descriptions.
  • RHSA-2010:0635-1: Red Hat High Performance Computing (HPC) Solution 5.5.
  • BID-42575: Cacti Cross Site Scripting and HTML Injection Vulnerabilities
  • CVE-2010-2545: Multiple cross-site scripting (XSS) vulnerabilities in Cacti before 0.8.7g, as used in Red Hat High Performance Computing (HPC) Solution and other products, allow remote attackers to inject arbitrary web script or HTML via (1) the name element in an XML template to templates_import.php; and allow remote authenticated administrators to inject arbitrary web script or HTML via vectors related to (2) cdef.php, (3) data_input.php, (4) data_queries.php, (5) data_sources.php, (6) data_templates.php, (7) gprint_presets.php, (8) graph.php, (9) graphs_new.php, (10) graphs.php, (11) graph_templates_inputs.php, (12) graph_templates_items.php, (13) graph_templates.php, (14) graph_view.php, (15) host.php, (16) host_templates.php, (17) lib/functions.php, (18) lib/html_form.php, (19) lib/html_form_templat
  • DSA-2384: cacti -- several vulnerabilities
  • MDVSA-2010:160: cacti
  • OSVDB ID: 67505: Cacti templates_import.php XML Template name Element XSS
  • OSVDB ID: 67506: Cacti cdef.php Unspecified Parameter XSS
  • OSVDB ID: 67507: Cacti data_input.php Unspecified Parameter XSS
  • OSVDB ID: 67508: Cacti data_queries.php Unspecified Parameter XSS
  • OSVDB ID: 67509: Cacti data_sources.php Unspecified Parameter XSS
  • OSVDB ID: 67510: Cacti data_templates.php Unspecified Parameter XSS
  • OSVDB ID: 67511: Cacti gprint_presets.php Unspecified Parameter XSS
  • OSVDB ID: 67512: Cacti graph.php Unspecified Parameter XSS
  • OSVDB ID: 67513: Cacti graphs_new.php Unspecified Parameter XSS
  • OSVDB ID: 67514: Cacti graphs.php Unspecified Parameter XSS
  • OSVDB ID: 67515: Cacti graph_templates_inputs.php Unspecified Parameter XSS
  • OSVDB ID: 67516: Cacti graph_templates_items.php Unspecified Parameter XSS
  • OSVDB ID: 67517: Cacti graph_templates.php Unspecified Parameter XSS
  • OSVDB ID: 67518: Cacti graph_view.php Unspecified Parameter XSS
  • OSVDB ID: 67519: Cacti host.php Unspecified Parameter XSS
  • OSVDB ID: 67520: Cacti host_templates.php Unspecified Parameter XSS
  • OSVDB ID: 67521: Cacti lib/functions.php Unspecified Parameter XSS
  • OSVDB ID: 67522: Cacti lib/html_form.php Unspecified Parameter XSS
  • OSVDB ID: 67523: Cacti lib/html_form_template.php Unspecified Parameter XSS
  • OSVDB ID: 67524: Cacti lib/html.php Unspecified Parameter XSS
  • OSVDB ID: 67525: Cacti lib/html_tree.php Unspecified Parameter XSS
  • OSVDB ID: 67526: Cacti lib/rrd.php Unspecified Parameter XSS
  • OSVDB ID: 67527: Cacti rra.php Unspecified Parameter XSS
  • OSVDB ID: 67528: Cacti tree.php Unspecified Parameter XSS
  • OSVDB ID: 67529: Cacti user_admin.php Unspecified Parameter XSS
  • SA41041: Red Hat High Performance Computing (HPC) Solution Multiple Vulnerabilities

Platforms Affected:

  • Cacti Cacti 0.6.7
  • Cacti Cacti 0.8
  • Cacti Cacti 0.8.1
  • Cacti Cacti 0.8.2
  • Cacti Cacti 0.8.2a
  • Cacti Cacti 0.8.3
  • Cacti Cacti 0.8.3a
  • Cacti Cacti 0.8.4
  • Cacti Cacti 0.8.5
  • Cacti Cacti 0.8.5a
  • Cacti Cacti 0.8.6
  • Cacti Cacti 0.8.6 prior 0.8.6k
  • Cacti Cacti 0.8.6a
  • Cacti Cacti 0.8.6b
  • Cacti Cacti 0.8.6c
  • Cacti Cacti 0.8.6d
  • Cacti Cacti 0.8.6e
  • Cacti Cacti 0.8.6f
  • Cacti Cacti 0.8.6g
  • Cacti Cacti 0.8.6h
  • Cacti Cacti 0.8.6i
  • Cacti Cacti 0.8.6j
  • Cacti Cacti 0.8.6k
  • Cacti Cacti 0.8.7
  • Cacti Cacti 0.8.7a
  • Cacti Cacti 0.8.7b
  • Cacti Cacti 0.8.7c
  • Cacti Cacti 0.8.7d
  • Cacti Cacti 0.8.7e
  • Cacti Cacti prior to 0.8.6e
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • Mandriva Enterprise Server 5
  • Mandriva Enterprise Server 5 X86_64

Reported:

Aug 19, 2010

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page