Skip to content
OpenAdvisories
Medium Public exploit CVE-2007-1355 EUVD-2007-1352GHSA-4c6x-gfc8-c26r

Apache Tomcat Vulnerable to Cross-Site Scripting

Published May 21, 2007 · Updated Aug 7, 2024 · Assigned by redhat

Description

Multiple cross-site scripting (XSS) vulnerabilities in the appdev/sample/web/hello.jsp example application in Tomcat 4.0.0 through 4.0.6, 4.1.0 through 4.1.36, 5.0.0 through 5.0.30, 5.5.0 through 5.5.23, and 6.0.0 through 6.0.10 allow remote attackers to inject arbitrary web script or HTML via the test parameter and unspecified vectors.

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
Red Hat Network Satellite 5 jabberd 2.0s10-3.38.rhn RHSA-2008:0261
Red Hat Network Satellite 5 java-1.4.2-ibm +1 1.4.2.10-1jpp.2.el4 RHSA-2008:0261
Red Hat Network Satellite 5 jfreechart 0.9.20-3.rhn RHSA-2008:0630, RHSA-2008:0261
Red Hat Network Satellite 5 mod_perl 2.0.2-12.el4 RHSA-2008:0630
Red Hat Network Satellite 5 openmotif21 2.1.30-11.RHEL4.6 RHSA-2008:0261
Red Hat Network Satellite 5 perl-Crypt-CBC 2.24-1.el4 RHSA-2008:0630, RHSA-2008:0261
Red Hat Network Satellite 5 rhn-apache 1.3.27-36.rhn.rhel4 RHSA-2008:0261
Red Hat Network Satellite 5 rhn-html 5.1.1-7 RHSA-2008:0630
Red Hat Network Satellite 5 rhn-modjk-ap13 1.2.23-2rhn.rhel4 RHSA-2008:0261
Red Hat Network Satellite 5 rhn-modperl 1.29-16.rhel4 RHSA-2008:0261
Red Hat Network Satellite 5 rhn-modssl 2.8.12-8.rhn.10.rhel4 RHSA-2008:0261
Red Hat Network Satellite 5 tomcat5 5.0.30-0jpp_10rh RHSA-2008:0630, RHSA-2008:0261
Red Hat Network Satellite 4 jabberd 2.0s10-3.37.rhn RHSA-2008:0524
Red Hat Network Satellite 4 java-1.4.2-ibm +1 1.4.2.10-1jpp.2.el3 RHSA-2008:0524
Red Hat Network Satellite 4 jfreechart 0.9.20-3.rhn RHSA-2008:0524
Red Hat Network Satellite 4 openmotif21 2.1.30-9.RHEL3.8 RHSA-2008:0524
Red Hat Network Satellite 4 perl-Crypt-CBC 2.24-1.el3 RHSA-2008:0524
Red Hat Network Satellite 4 rhn-apache 1.3.27-36.rhn.rhel3 RHSA-2008:0524
Red Hat Network Satellite 4 rhn-modjk-ap13 1.2.23-2rhn.rhel3 RHSA-2008:0524
Red Hat Network Satellite 4 rhn-modperl 1.29-16.rhel3 RHSA-2008:0524
Red Hat Network Satellite 4 rhn-modssl 2.8.12-8.rhn.10.rhel3 RHSA-2008:0524
Red Hat Network Satellite 4 tomcat5 5.0.30-0jpp_10rh RHSA-2008:0524

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.

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:jsp-api >= 4.1.0, < 4.1.37 4.1.37 GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:jsp-api >= 5.5.0, < 5.5.24 5.5.24 GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:jsp-api >= 6.0.0, < 6.0.11 6.0.11 GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:jsp-api >= 5.0.0, <= 5.0.30 — GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:jsp-api >= 4.0.0, <= 4.0.6 — GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:servlet-api >= 4.1.0, < 4.1.37 4.1.37 GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:servlet-api >= 5.5.0, < 5.5.24 5.5.24 GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:servlet-api >= 6.0.0, < 6.0.11 6.0.11 GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:servlet-api >= 5.0.0, <= 5.0.30 — GHSA-4c6x-gfc8-c26r
Maven org.apache.tomcat:servlet-api >= 4.0.0, <= 4.0.6 — GHSA-4c6x-gfc8-c26r

Advisories 3

References