Skip to content
OpenAdvisories
Medium Public exploit CVE-2003-0042 EUVD-2022-1814GHSA-qfw2-wvrw-mvw4

Jakarta Tomcat Directory Listing vulnerability

Published Jan 29, 2003 · Updated Aug 8, 2024 · Assigned by mitre

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.

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
Debian 3.0 tomcat 3.3a-4woody.1 DSA-246

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 < 3.3.1a 3.3.1a GHSA-qfw2-wvrw-mvw4

Advisories 1

References