CWE
79
Advisory Published
CVE Published
Updated

CVE-2010-2545: XSS

First published: Fri Aug 15 2008(Updated: )

Description: templates_import.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/templates_import.php: Import a template file with a specially crafted <name>...</name> tag, such as shown here. <cacti> <hash_000016fe5edd777a76d48fc48c11aded5211ef> <name> Unix - Load Average<![CDATA[<script>alert(document.cookie)</script>]]> </name> ...

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
debian/cacti
1.2.16+ds1-2+deb11u3
1.2.24+ds1-1+deb12u2
1.2.27+ds1-2
Cacti=0.5
Cacti=0.8.6k
Cacti=0.8.6d
Cacti=0.6.3
Cacti<=0.8.7f
Cacti=0.8.7
Cacti=0.8.5a
Cacti=0.8.3
Cacti=0.6.8
Cacti=0.8.2
Cacti=0.8.5
Cacti=0.6.6
Cacti=0.8.7d
Cacti=0.8.7b
Cacti=0.8.7a
Cacti=0.6.2
Cacti=0.6.5
Cacti=0.8.6f
Cacti=0.8.6g
Cacti=0.8.6j
Cacti=0.8.7c
Cacti=0.6.1
Cacti=0.8
Cacti=0.8.7e
Cacti=0.8.6a
Cacti=0.8.6i
Cacti=0.8.6
Cacti=0.6.8a
Cacti=0.6.7
Cacti=0.8.1
Cacti=0.8.4
Cacti=0.8.6c
Cacti=0.6.4
Cacti=0.8.6b
Cacti=0.8.2a
Cacti=0.8.3a
Cacti=0.8.6h
Cacti=0.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • 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.

  • What type of vulnerability is CVE-2010-2545?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203