Skip to content
OpenAdvisories
Medium Public exploit CVE-2010-4172 EUVD-2022-3524GHSA-c78g-qwpw-2jgv

Improper Neutralization of Input During Web Page Generation in Apache Tomcat

Published Nov 26, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 6 tomcat6 +8 6.0.24-33.el6 RHSA-2011:0791
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Web Server 1 ant 1.7.1-13.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 ant-commons-net 1.7.1-14.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 ant-jmf +16 1.7.1-13.jdk6.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 antlr 2.7.7-7.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 bcel 5.2-8.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 cglib 2.2-5.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 dom4j 1.6.1-11.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 ecj 1:3.3.1.1-3.2.2.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 ecj3 1:3.3.1.1-3.1.1.1.jdk6.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 glassfish-jaf 1.1.0-6.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 glassfish-javamail 1.4.2-0.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 glassfish-jsf 1.2_13-2.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3 +1 1:3.3.2-1.4.GA_CP04.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-annotations +1 3.4.0-3.2.GA_CP04.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-commons-annotations +1 3.1.0-1.8.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-ejb-persistence-3.0-api +1 1:1.0.2-3.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 hibernate3-entitymanager +1 3.4.0-4.3.GA_CP04.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 httpd +2 2.2.17-11.1.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 httpd-tools 2.2.17-11.2.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 httpd22 +6 2.2.17-14.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-beanutils 1.8.0-4.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-chain 1.2-2.2.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-codec 1.3-9.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-collections +1 3.2.1-4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-daemon 1:1.0.5-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-daemon-jsvc 1:1.0.5-1.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-dbcp +1 1.2.1-16.2.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-digester 1.8.1-8.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-el 1.0-19.2.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-fileupload 1:1.1.1-7.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-httpclient 1:3.1-1.1.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-io 1.4-1.3.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-launcher 1.1-4.6.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-logging +1 1.1.1-0.4.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-logging-jboss 1.1-10.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-modeler 2.0-4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-pool +1 1.3-11.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-commons-validator 1.3.1-7.5.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-oro 2.0.8-3.3.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jakarta-taglibs-standard 1.1.1-9.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 javassist 3.12.0-1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jboss-common-core 2.2.17-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jboss-common-logging-jdk +1 2.1.2-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jboss-javaee +3 5.0.1-2.9.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jcommon 1.0.16-1.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 jfreechart 1.0.13-2.3.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 log4j 1.2.14-18.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_cluster +5 1.0.10-2.GA_CP01.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_jk +2 1.2.31-1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_ssl 1:2.2.17-11.1.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 mod_ssl22 1:2.2.17-14.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 mx4j 1:3.0.1-9.3.4.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 objectweb-asm 3.1-5.3.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 objectweb-asm31 3.1-12.1.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 regexp 1.5-1.2.1.jdk6.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 struts12 1.2.9-3.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat-jkstatus-ant 1.2.31-2.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat-native 1.1.20-2.0.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat5 +12 5.5.33-14_patch_04.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 tomcat6 +9 6.0.32-14_patch_03.ep5.el6 RHSA-2011:0897
Red Hat JBoss Web Server 1 xalan-j2 2.7.1-5.3_patch_04.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 xerces-j2 2.9.1-3.patch01.1.ep5.el4 RHSA-2011:0897
Red Hat JBoss Web Server 1 xml-commons +3 1.3.04-7.10.jdk6.ep5.el5 RHSA-2011:0897
Red Hat JBoss Web Server 1 xml-commons-which10 +4 1.3.04-7.14.ep5.el6 RHSA-2011:0897

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat >= 7.0.0, < 7.0.5 7.0.5 GHSA-c78g-qwpw-2jgv
Maven org.apache.tomcat:tomcat >= 6.0.12, <= 6.0.29 — GHSA-c78g-qwpw-2jgv

Advisories 2

References