CVE-2010-2545: XSS

Published Aug 15, 2008
·
Updated

Description:

templatesimport.php does not filter html metacharacters when importing xml template files. This may cause a persistent cross-site scripting when importing templates from untrusted sources.

How to reproduce:

/cacti/templatesimport.php:

Import a template file with a specially crafted <name>...</name> tag, such as shown here.

<cacti> <hash000016fe5edd777a76d48fc48c11aded5211ef> <name> Unix - Load Average<![CDATA[<script>alert(document.cookie)</script>]]> </name> ...

Other sources

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 templatesimport.php; and allow remote authenticated administrators to inject arbitrary web script or HTML via vectors related to (2) cdef.php, (3) datainput.php, (4) dataqueries.php, (5) datasources.php, (6) datatemplates.php, (7) gprintpresets.php, (8) graph.php, (9) graphsnew.php, (10) graphs.php, (11) graphtemplatesinputs.php, (12) graphtemplatesitems.php, (13) graphtemplates.php, (14) graphview.php, (15) host.php, (16) hosttemplates.php, (17) lib/functions.php, (18) lib/htmlform.php, (19) lib/htmlformtemplate.php, (20) lib/html.php, (21) lib/htmltree.php, (22) lib/rrd.php, (23) rra.php, (24) tree.php, and (25) useradmin.php.

MITRE

Affected Software

39 affected componentsFixes available
Cacti Cacti=0.5
Cacti Cacti=0.8.6k
Cacti Cacti=0.8.6d
Cacti Cacti=0.6.3
Cacti Cacti<=0.8.7f
Cacti Cacti=0.8.7
Cacti Cacti=0.8.5a
Cacti Cacti=0.8.3
Cacti Cacti=0.6.8
Cacti Cacti=0.8.2
Cacti Cacti=0.8.5
Cacti Cacti=0.6.6
Cacti Cacti=0.8.7d
Cacti Cacti=0.8.7b
Cacti Cacti=0.8.7a
Cacti Cacti=0.6.2
Cacti Cacti=0.6.5
Cacti Cacti=0.8.6f
Cacti Cacti=0.8.6g
Cacti Cacti=0.8.6j
Cacti Cacti=0.8.7c
Cacti Cacti=0.6.1
Cacti Cacti=0.8
Cacti Cacti=0.8.7e
Cacti Cacti=0.8.6a
Cacti Cacti=0.8.6i
Cacti Cacti=0.8.6
Cacti Cacti=0.6.8a
Cacti Cacti=0.6.7
Cacti Cacti=0.8.1
Cacti Cacti=0.8.4
Cacti Cacti=0.8.6c
Cacti Cacti=0.6.4
Cacti Cacti=0.8.6b
Cacti Cacti=0.8.2a
Cacti Cacti=0.8.3a
Cacti Cacti=0.8.6h
Cacti Cacti=0.6
debian/cacti
1.2.16+ds1-2+deb11u31.2.16+ds1-2+deb11u51.2.24+ds1-1+deb12u51.2.30+ds1-1

Event History

Aug 15, 2008
Data Sourced
08:28 AM
DescriptionSeverityAffected Software
Aug 23, 2010
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-2545?

CVE-2010-2545 has a medium severity rating due to the potential for persistent cross-site scripting vulnerabilities.

2

How do I fix CVE-2010-2545?

To fix CVE-2010-2545, ensure you upgrade to a version of Cacti that has addressed this vulnerability, such as 1.2.16+ds1-2+deb11u3 or later.

3

What are the affected versions of Cacti related to CVE-2010-2545?

CVE-2010-2545 affects multiple Cacti versions, including 0.5, 0.6, and from 0.8.1 to 0.8.7f.

4

What type of vulnerability is CVE-2010-2545?

CVE-2010-2545 is categorized as a cross-site scripting (XSS) vulnerability.

5

Can CVE-2010-2545 be exploited through template imports?

Yes, CVE-2010-2545 can be exploited by importing untrusted XML template files through templates_import.php.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203