Skip to content
OpenAdvisories
Medium Public exploit CVE-2008-1232 EUVD-2022-4908GHSA-q74x-qqhr-f8rx

Apache Tomcat Cross-site scripting (XSS) vulnerability

Published Aug 4, 2008 · Updated Aug 7, 2024 · Assigned by redhat

Description

Cross-site scripting (XSS) vulnerability in Apache Tomcat 4.1.0 through 4.1.37, 5.5.0 through 5.5.26, and 6.0.0 through 6.0.16 allows remote attackers to inject arbitrary web script or HTML via a crafted string that is used in the message argument to the HttpServletResponse.sendError method.

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 5 tomcat5 +10 5.5.23-0jpp.7.el5_2.1 RHSA-2008:0648
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Developer Suite 3 tomcat5 +5 5.5.23-0jpp_12rh RHSA-2008:0864
Red Hat Rhel Application Server 2 tomcat5 +10 5.5.23-0jpp_4rh.9 RHSA-2008:0862
Red Hat Network Satellite 5 tomcat5 5.0.30-0jpp_12rh RHSA-2008:1007
Red Hat JBoss EAP 4 jbossweb 2.0.0-5.CP07.0jpp.ep1.1.el4 RHSA-2008:0877
Red Hat Certificate System 7 ant 1.6.5-1jpp_1rh RHSA-2010:0602
Red Hat Certificate System 7 avalon-logkit 1.2-2jpp_4rh RHSA-2010:0602
Red Hat Certificate System 7 axis 1.2.1-1jpp_3rh RHSA-2010:0602
Red Hat Certificate System 7 classpathx-jaf 1.0-2jpp_6rh RHSA-2010:0602
Red Hat Certificate System 7 classpathx-mail 1.1.1-2jpp_8rh RHSA-2010:0602
Red Hat Certificate System 7 geronimo-specs +10 1.0-0.M4.1jpp_10rh RHSA-2010:0602
Red Hat Certificate System 7 jakarta-commons-modeler 2.0-3jpp_2rh RHSA-2010:0602
Red Hat Certificate System 7 log4j 1.2.12-1jpp_1rh RHSA-2010:0602
Red Hat Certificate System 7 mx4j 1:3.0.1-1jpp_4rh RHSA-2010:0602
Red Hat Certificate System 7 pcsc-lite +2 1.3.3-3.el4 RHSA-2010:0602
Red Hat Certificate System 7 rhpki-ca 7.3.0-20.el4 RHSA-2010:0602
Red Hat Certificate System 7 rhpki-java-tools 7.3.0-10.el4 RHSA-2010:0602
Red Hat Certificate System 7 rhpki-kra 7.3.0-14.el4 RHSA-2010:0602
Red Hat Certificate System 7 rhpki-manage 7.3.0-19.el4 RHSA-2010:0602
Red Hat Certificate System 7 rhpki-native-tools 7.3.0-6.el4 RHSA-2010:0602
Red Hat Certificate System 7 rhpki-tks +1 7.3.0-13.el4 RHSA-2010:0602
Red Hat Certificate System 7 tomcat5 +5 5.5.23-0jpp_4rh.16 RHSA-2010:0602
Red Hat Certificate System 7 xerces-j2 2.7.1-1jpp_1rh RHSA-2010:0602
Red Hat Certificate System 7 xml-commons +1 1.3.02-2jpp_1rh RHSA-2010:0602

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 >= 4.1.0, < 4.1.38 4.1.38 GHSA-q74x-qqhr-f8rx
Maven org.apache.tomcat:tomcat >= 5.5.0, < 5.5.27 5.5.27 GHSA-q74x-qqhr-f8rx
Maven org.apache.tomcat:tomcat >= 6.0.0, < 6.0.17 6.0.17 GHSA-q74x-qqhr-f8rx

Advisories 6

References