CVE-2010-4172 apache tomcat: Cross-site Scripting
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
- 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
org.apache.tomcat:tomcat(Maven): fixed in 7.0.5- Red Hat: fixed package versions per release
- Patch: http://tomcat.apache.org/security-7.html
- Vendor advisory: http://secunia.com/advisories/42337
- Vendor advisory: http://tomcat.apache.org/security-7.html
- Vendor advisory: http://www.vupen.com/english/advisories/2010/3047
Ask an AI about this CVE
Show the prompt
Explain 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.
| Product | Affected |
|---|---|
| apache:tomcat | 6.0.12 |
| apache:tomcat | 6.0.13 |
| apache:tomcat | 6.0.14 |
| apache:tomcat | 6.0.15 |
| apache:tomcat | 6.0.16 |
| apache:tomcat | 6.0.17 |
| apache:tomcat | 6.0.18 |
| apache:tomcat | 6.0.19 |
| apache:tomcat | 6.0.20 |
| apache:tomcat | 6.0.24 |
| apache:tomcat | 6.0.26 |
| apache:tomcat | 6.0.27 |
| apache:tomcat | 6.0.28 |
| apache:tomcat | 6.0.29 |
| apache:tomcat | 7.0.0 |
| apache:tomcat | 7.0.0:beta |
| apache:tomcat | 7.0.1 |
| apache:tomcat | 7.0.2 |
| apache:tomcat | 7.0.3 |
| apache:tomcat | 7.0.4 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-c78g-qwpw-2jgv | 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 | no fix published |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Red Hat | enterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 more | tomcat6, tomcat6-lib, tomcat6-javadoc and 6 more | 0:6.0.24-33.el6 | RHSA-2011:0791 |
| Red Hat | jboss_enterprise_web_server:1::el4 | ant | 0:1.7.1-13.jdk6.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | antlr | 0:2.7.7-7.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | bcel | 0:5.2-8.1.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | cglib | 0:2.2-5.1.1.jdk6.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | dom4j | 0:1.6.1-11.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | ecj | 1:3.3.1.1-3.2.2.jdk6.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | glassfish-jaf | 0:1.1.0-6.1.1.jdk6.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | glassfish-javamail | 0:1.4.2-0.4.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | glassfish-jsf | 0:1.2_13-2.2.1.jdk6.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | hibernate3, hibernate3-javadoc | 1:3.3.2-1.5.GA_CP04.ep5.el4 | RHSA-2011:0897 |
| Red Hat | jboss_enterprise_web_server:1::el4 | hibernate3-annotations, hibernate3-annotations-javadoc | 0:3.4.0-3.3.GA_CP04.ep5.el4 | RHSA-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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | tomcat6-0:6.0.24-33.el6 | Fixed 2011-05-19 | RHSA-2011:0791 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | ant-0:1.7.1-13.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | antlr-0:2.7.7-7.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | cglib-0:2.2-5.1.1.1.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | dom4j-0:1.6.1-11.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | ecj3-1:3.3.1.1-3.1.1.1.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | glassfish-jsf-0:1.2_13-3.1.1.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | hibernate3-1:3.3.2-1.4.GA_CP04.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | hibernate3-annotations-0:3.4.0-3.2.GA_CP04.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | hibernate3-commons-annotations-0:3.1.0-1.8.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | hibernate3-ejb-persistence-3.0-api-1:1.0.2-3.1.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | hibernate3-entitymanager-0:3.4.0-4.3.GA_CP04.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | httpd-0:2.2.17-11.1.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | jakarta-commons-beanutils-0:1.8.0-4.1.2.1.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | jakarta-commons-chain-0:1.2-2.2.1.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | jakarta-commons-codec-0:1.3-9.2.1.1.jdk6.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | jakarta-commons-collections-0:3.2.1-4.1.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | jakarta-commons-daemon-1:1.0.5-1.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat JBoss Enterprise Web Server 1 for RHEL 5 | jakarta-commons-daemon-jsvc-1:1.0.5-1.4.ep5.el5 | Fixed 2011-06-22 | RHSA-2011:0897 |
| Red Hat Enterprise Linux 5 | tomcat5 | Not 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
- http://tomcat.apache.org/security-7.html
- http://secunia.com/advisories/42337
- http://www.vupen.com/english/advisories/2010/3047
- http://archives.neohapsis.com/archives/fulldisclosure/2010-11/0285.html
- http://lists.apple.com/archives/Security-announce/2011//Oct/msg00003.html
- http://marc.info/?l=bugtraq&m=139344343412337&w=2
- http://secunia.com/advisories/43019
- http://secunia.com/advisories/45022
- http://secunia.com/advisories/57126
- http://securitytracker.com/id?1024764
- http://support.apple.com/kb/HT5002
- http://support.novell.com/docs/Readmes/InfoDocument/patchbuilder/readme_5098550.html
- http://svn.apache.org/viewvc?view=revision&revision=1037778
- http://svn.apache.org/viewvc?view=revision&revision=1037779
- http://tomcat.apache.org/security-6.html
- http://www.redhat.com/support/errata/RHSA-2011-0791.html
- http://www.redhat.com/support/errata/RHSA-2011-0896.html
- http://www.redhat.com/support/errata/RHSA-2011-0897.html
- http://www.securityfocus.com/archive/1/514866/100/0/threaded
- http://www.securityfocus.com/bid/45015
- http://www.ubuntu.com/usn/USN-1048-1
- http://www.vupen.com/english/advisories/2011/0203
- https://bugzilla.redhat.com/show_bug.cgi?id=656246
- https://exchange.xforce.ibmcloud.com/vulnerabilities/63422