cve.bz

CVE-2010-4172 apache tomcat: Cross-site Scripting

no score yetExploitEPSS 42%Fix available

apache tomcat: no CVSS score yet. EPSS 42% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 7.0.5.

On this page
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.
EPSS
42% (unchanged from 42% a week ago; 42% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2010-4172 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2010-4172?via=ask-ai-copy and https://cve.bz/cve/CVE-2010-4172?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2010-4172 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcat6.0.12
apache:tomcat6.0.13
apache:tomcat6.0.14
apache:tomcat6.0.15
apache:tomcat6.0.16
apache:tomcat6.0.17
apache:tomcat6.0.18
apache:tomcat6.0.19
apache:tomcat6.0.20
apache:tomcat6.0.24
apache:tomcat6.0.26
apache:tomcat6.0.27
apache:tomcat6.0.28
apache:tomcat6.0.29
apache:tomcat7.0.0
apache:tomcat7.0.0:beta
apache:tomcat7.0.1
apache:tomcat7.0.2
apache:tomcat7.0.3
apache:tomcat7.0.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-c78g-qwpw-2jgvMavenorg.apache.tomcat:tomcat>=7.0.0 <7.0.57.0.5
GHSA-c78g-qwpw-2jgvMavenorg.apache.tomcat:tomcat>=6.0.12 <=6.0.29no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moretomcat6, tomcat6-lib, tomcat6-javadoc and 6 more0:6.0.24-33.el6RHSA-2011:0791
Red Hatjboss_enterprise_web_server:1::el4ant0:1.7.1-13.jdk6.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4antlr0:2.7.7-7.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4bcel0:5.2-8.1.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4cglib0:2.2-5.1.1.jdk6.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4dom4j0:1.6.1-11.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4ecj1:3.3.1.1-3.2.2.jdk6.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4glassfish-jaf0:1.1.0-6.1.1.jdk6.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4glassfish-javamail0:1.4.2-0.4.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4glassfish-jsf0:1.2_13-2.2.1.jdk6.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4hibernate3, hibernate3-javadoc1:3.3.2-1.5.GA_CP04.ep5.el4RHSA-2011:0897
Red Hatjboss_enterprise_web_server:1::el4hibernate3-annotations, hibernate3-annotations-javadoc0:3.4.0-3.3.GA_CP04.ep5.el4RHSA-2011:0897
141 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6tomcat6-0:6.0.24-33.el6Fixed 2011-05-19RHSA-2011:0791
Red Hat JBoss Enterprise Web Server 1 for RHEL 5ant-0:1.7.1-13.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5antlr-0:2.7.7-7.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5cglib-0:2.2-5.1.1.1.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5dom4j-0:1.6.1-11.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5ecj3-1:3.3.1.1-3.1.1.1.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5glassfish-jsf-0:1.2_13-3.1.1.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5hibernate3-1:3.3.2-1.4.GA_CP04.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5hibernate3-annotations-0:3.4.0-3.2.GA_CP04.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5hibernate3-commons-annotations-0:3.1.0-1.8.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5hibernate3-ejb-persistence-3.0-api-1:1.0.2-3.1.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5hibernate3-entitymanager-0:3.4.0-4.3.GA_CP04.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5httpd-0:2.2.17-11.1.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5jakarta-commons-beanutils-0:1.8.0-4.1.2.1.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5jakarta-commons-chain-0:1.2-2.2.1.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5jakarta-commons-codec-0:1.3-9.2.1.1.jdk6.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5jakarta-commons-collections-0:3.2.1-4.1.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5jakarta-commons-daemon-1:1.0.5-1.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat JBoss Enterprise Web Server 1 for RHEL 5jakarta-commons-daemon-jsvc-1:1.0.5-1.4.ep5.el5Fixed 2011-06-22RHSA-2011:0897
Red Hat Enterprise Linux 5tomcat5Not affected
79 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2010-4172.

Public exploits

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache Tomcat Sort Parameter Cross Site Scripting Attempt sid 2013117
  • Emerging Threats Open ET WEB_SPECIFIC_APPS Apache Tomcat Orderby Parameter Cross Site Scripting Attempt sid 2013118

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON