CVE-2010-4172: XSS

Published Nov 23, 2010
·
Updated

A cross-site-scripting flaw was discovered in the manager application. It reflected the user provided parameters sort and orderBy directly without filtering applied.

The issue affects Tomcat 6 (impact=moderate):

From 6.0.12 to 6.0.29 and was fixed in r1037779:

http://svn.apache.org/viewvc?rev=1037779&view=rev

Upstream 6.0.30 will correct this flaw as noted:

http://tomcat.apache.org/security-6.html

The issue affects Tomcat 7 (impact=low, as caught by CSRF protection) : From 7.0.0 to 7.0.4 and was fixed in r1037778:

http://svn.apache.org/viewvc?rev=1037778&view=rev

Upstream 7.0.5 will correct this flaw as noted:

http://tomcat.apache.org/security-7.html

Other sources

Multiple cross-site scripting (XSS) vulnerabilities in the Manager application in Apache Tomcat 6.0.12 through 6.0.29 and 7.0.0 through 7.0.4 allow remote attackers to inject arbitrary web script or HTML via the (1) orderBy or (2) sort parameter to sessionsList.jsp, or unspecified input to (3) sessionDetail.jsp or (4) java/org/apache/catalina/manager/JspHelper.java, related to use of untrusted web applications.

Debian

Affected Software

23 affected componentsFixes available
debian/tomcat6
maven/org.apache.tomcat:tomcat>=6.0.12<=6.0.29
maven/org.apache.tomcat:tomcat>=7.0.0<7.0.5
7.0.5
Apache Tomcat=7.0.1
Apache Tomcat=7.0.2
Apache Tomcat=6.0.15
Apache Tomcat=7.0.0
Apache Tomcat=6.0.20
Apache Tomcat=6.0.29
Apache Tomcat=7.0.0-beta
Apache Tomcat=6.0.24
Apache Tomcat=6.0.17
Apache Tomcat=6.0.28
Apache Tomcat=6.0.14
Apache Tomcat=6.0.12
Apache Tomcat=6.0.18
Apache Tomcat=6.0.13
Apache Tomcat=7.0.4
Apache Tomcat=7.0.3
Apache Tomcat=6.0.26
Apache Tomcat=6.0.19
Apache Tomcat=6.0.27
Apache Tomcat=6.0.16

Event History

Nov 23, 2010
Data Sourced
via Red Hat·10:30 AM
DescriptionSeverityAffected Software
Nov 26, 2010
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
May 14, 2022
Advisory Published
via GitHub·02:42 AM

Frequently Asked Questions

1

What is the severity of CVE-2010-4172?

The severity of CVE-2010-4172 is categorized as moderate.

2

How do I fix CVE-2010-4172?

To fix CVE-2010-4172, upgrade to Apache Tomcat version 7.0.5 or later.

3

Which Apache Tomcat versions are affected by CVE-2010-4172?

CVE-2010-4172 affects Apache Tomcat versions 6.0.12 to 6.0.29 and some 7.0.x versions up to 7.0.4.

4

What type of vulnerability is CVE-2010-4172?

CVE-2010-4172 is a cross-site scripting (XSS) vulnerability.

5

Is there a workaround for CVE-2010-4172 if I can't upgrade?

There are no recommended workarounds for CVE-2010-4172; upgrading is advised to mitigate the vulnerability.

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