CVE-2008-1947 apache tomcat: Cross-site Scripting
apache tomcat: no CVSS score yet. EPSS 9.8% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 5.5.27, 6.0.18.
On this page
- EPSS
- 9.8% (unchanged from 9.8% a week ago; 9.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th 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 5.5.27, 6.0.18org.apache.tomcat.embed:tomcat-embed-core(Maven): fixed in 5.5.27, 6.0.18- Debian, Red Hat: fixed package versions per release
- Vendor advisory: http://secunia.com/advisories/30500
- Vendor advisory: http://secunia.com/advisories/30592
Ask an AI about this CVE
Show the prompt
Explain CVE-2008-1947 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-1947?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-1947?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-2008-1947 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 | 5.5.9 |
| apache:tomcat | 5.5.10 |
| apache:tomcat | 5.5.11 |
| apache:tomcat | 5.5.12 |
| apache:tomcat | 5.5.13 |
| apache:tomcat | 5.5.14 |
| apache:tomcat | 5.5.15 |
| apache:tomcat | 5.5.16 |
| apache:tomcat | 5.5.17 |
| apache:tomcat | 5.5.18 |
| apache:tomcat | 5.5.19 |
| apache:tomcat | 5.5.20 |
| apache:tomcat | 5.5.21 |
| apache:tomcat | 5.5.22 |
| apache:tomcat | 5.5.23 |
| apache:tomcat | 5.5.24 |
| apache:tomcat | 5.5.25 |
| apache:tomcat | 5.5.26 |
| apache:tomcat | 6.0.0 |
| apache:tomcat | 6.0.1 |
| apache:tomcat | 6.0.2 |
| apache:tomcat | 6.0.3 |
| apache:tomcat | 6.0.4 |
| apache:tomcat | 6.0.5 |
| apache:tomcat | 6.0.6 |
| apache:tomcat | 6.0.7 |
| apache:tomcat | 6.0.8 |
| apache:tomcat | 6.0.9 |
| apache:tomcat | 6.0.10 |
| apache:tomcat | 6.0.11 |
| 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 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f98p-9pp6-7q6c | Maven | org.apache.tomcat:tomcat | >=5.5.9 <5.5.27 | 5.5.27 |
| GHSA-f98p-9pp6-7q6c | Maven | org.apache.tomcat:tomcat | >=6.0.0 <6.0.18 | 6.0.18 |
| GHSA-f98p-9pp6-7q6c | Maven | org.apache.tomcat.embed:tomcat-embed-core | >=5.5.9 <5.5.27 | 5.5.27 |
| GHSA-f98p-9pp6-7q6c | Maven | org.apache.tomcat.embed:tomcat-embed-core | >=6.0.0 <6.0.18 | 6.0.18 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 4.0 | tomcat5.5 | 5.5.20-2etch3 | DSA-1593-1 |
| Red Hat | enterprise_linux:5::client | tomcat5, tomcat5-debuginfo, tomcat5-jsp-2.0-api and 1 more | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat | enterprise_linux:5::client_workstation | tomcat5, tomcat5-jasper, tomcat5-webapps and 7 more | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat | enterprise_linux:5::server | tomcat5, tomcat5-jasper, tomcat5-webapps and 9 more | 0:5.5.23-0jpp.7.el5_2.1 | RHSA-2008:0648 |
| Red Hat | network_satellite:5.0:el4, network_satellite:5.1::el4 | tomcat5 | 0:5.0.30-0jpp_12rh | RHSA-2008:1007 |
| Red Hat | rhel_application_server:2 | tomcat5, tomcat5-jasper, tomcat5-webapps and 8 more | 0:5.5.23-0jpp_4rh.9 | RHSA-2008:0862 |
| Red Hat | rhel_developer_suite:3 | tomcat5, tomcat5-jasper, tomcat5-common-lib and 3 more | 0:5.5.23-0jpp_12rh | RHSA-2008:0864 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Low.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Developer Suite V.3 | tomcat5-0:5.5.23-0jpp_12rh | Fixed 2008-10-02 | RHSA-2008:0864 |
| Red Hat Enterprise Linux 5 | tomcat5-0:5.5.23-0jpp.7.el5_2.1 | Fixed 2008-08-27 | RHSA-2008:0648 |
| Red Hat Network Satellite Server v 5.0 | tomcat5-0:5.0.30-0jpp_12rh | Fixed 2008-12-08 | RHSA-2008:1007 |
| Red Hat Network Satellite Server v 5.1 | tomcat5-0:5.0.30-0jpp_12rh | Fixed 2008-12-08 | RHSA-2008:1007 |
| RHAPS Version 2 for RHEL 4 | tomcat5-0:5.5.23-0jpp_4rh.9 | Fixed 2008-10-02 | RHSA-2008:0862 |
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-2008-1947.
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 Possible Apache Tomcat Host Manager Cross Site Scripting Attempt sid 2010146
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://secunia.com/advisories/30500
- http://secunia.com/advisories/30592
- http://lists.apple.com/archives/security-announce/2008/Oct/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2009-02/msg00002.html
- http://marc.info/?l=bugtraq&m=123376588623823&w=2
- http://marc.info/?l=bugtraq&m=139344343412337&w=2
- http://marc.info/?l=tomcat-user&m=121244319501278&w=2
- http://secunia.com/advisories/30967
- http://secunia.com/advisories/31639
- http://secunia.com/advisories/31865
- http://secunia.com/advisories/31891
- http://secunia.com/advisories/32120
- http://secunia.com/advisories/32222
- http://secunia.com/advisories/32266
- http://secunia.com/advisories/33797
- http://secunia.com/advisories/33999
- http://secunia.com/advisories/34013
- http://secunia.com/advisories/37460
- http://secunia.com/advisories/57126
- http://support.apple.com/kb/HT3216
- http://support.avaya.com/elmodocs2/security/ASA-2008-401.htm
- http://tomcat.apache.org/security-5.html
- http://tomcat.apache.org/security-6.html
- http://www.debian.org/security/2008/dsa-1593
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:188
- http://www.redhat.com/support/errata/RHSA-2008-0648.html
- http://www.redhat.com/support/errata/RHSA-2008-0862.html
- http://www.redhat.com/support/errata/RHSA-2008-0864.html
- http://www.securityfocus.com/archive/1/492958/100/0/threaded
- http://www.securityfocus.com/archive/1/507985/100/0/threaded
- http://www.securityfocus.com/bid/29502
- http://www.securityfocus.com/bid/31681
- http://www.securitytracker.com/id?1020624
- http://www.vmware.com/security/advisories/VMSA-2009-0002.html
- http://www.vmware.com/security/advisories/VMSA-2009-0016.html
- http://www.vupen.com/english/advisories/2008/1725
- http://www.vupen.com/english/advisories/2008/2780
- http://www.vupen.com/english/advisories/2008/2823
- http://www.vupen.com/english/advisories/2009/0320
- http://www.vupen.com/english/advisories/2009/0503
- http://www.vupen.com/english/advisories/2009/3316
- https://exchange.xforce.ibmcloud.com/vulnerabilities/42816
- https://lists.apache.org/thread.html/06cfb634bc7bf37af7d8f760f118018746ad8efbd519c4b789ac9c2e%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/8dcaf7c3894d66cb717646ea1504ea6e300021c85bb4e677dc16b1aa%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r3aacc40356defc3f248aa504b1e48e819dd0471a0a83349080c6bcbf%40%3Cdev.tomcat.apache.org%3E
- https://lists.apache.org/thread.html/r584a714f141eff7b1c358d4679288177bd4ca4558e9999d15867d4b5%40%3Cdev.tomcat.apache.org%3E
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11534
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6009
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00712.html
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00859.html
- https://www.redhat.com/archives/fedora-package-announce/2008-September/msg00889.html