WaratekVRT Sign in

CVE-2003-0042 Tomcat

Affected softwareTomcat
Severity5.0 Medium CVSS 2.0
Fixed in3.3.1a
WeaknessPath traversal (CWE-22)
Published7 Feb 2003
Updated16 Jun 2026

Description

Jakarta Tomcat before 3.3.1a, when used with JDK 1.3.1 or earlier, allows remote attackers to list directories even with an index.html or other file present, or obtain unprocessed source code for a JSP file, via a URL containing a null character.

Exploitation status

Working exploit published

A reviewed exploit catalogue lists ready-to-run exploit code for this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC 1 indexed Published artifacts you can open, in Exploit-DB; first seen 2003-01-26.
  • EPSS 46% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99% of all scored CVEs.
IndexArtifactStarsFirst seen
Exploit-DB Apache Tomcat 3.x - Null Byte Directory / File Disclosure 2003-01-26

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.

How to mitigate CVE-2003-0042

Upgrade Tomcat to 3.3.1a or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.apache.tomcat:tomcat 0 3.3.1a unbounded

Products and versions

2 products, 10 version entries
SourceVendorProductSchemeAffected versions
nvd apache tomcat generic 3.0 · 3.1 · 3.1.1 · 3.2 · 3.2.1 · 3.2.3 · 3.2.4 · 3.3 · 3.3.1
osv org.apache.tomcat tomcat generic < 3.3.1

References

URLTags
https://exchange.xforce.ibmcloud.com/vulnerabilities/11194 WEB
https://github.com/apache/tomcat PACKAGE
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a WEB
http://jakarta.apache.org/builds/jakarta-tomcat/release/v3.3.1a/RELEASE-NOTES-3.3.1a.txt WEB
http://marc.info/?l=bugtraq&m=104394568616290&w=2 WEB
http://secunia.com/advisories/7972 WEB
http://secunia.com/advisories/7977 WEB
http://www.ciac.org/ciac/bulletins/n-060.shtml WEB
http://www.debian.org/security/2003/dsa-246 WEB
http://www.securityfocus.com/advisories/5111 WEB

Timeline

Published2003-02-07By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.