CVE-2002-1148
Apache Tomcat Source Code Disclosure
The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.
Exploit likelihood
What each source reports
NVD Score used
5.0
The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.
- Record
CVE-2002-1148- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
CVE List No score
The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.
- Record
CVE-2002-1148- Updated
- 2026-11-02
EUVDEUVD-2022-1777 No score
The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.
- Record
EUVD-2022-1777- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jxcv-v856-j5vg No score
Apache Tomcat Source Code Disclosure
The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.
- Record
GHSA-jxcv-v856-j5vg- Weakness
- CWE-200
- Updated
- 2026-11-02
OSVGHSA-jxcv-v856-j5vg No score
Apache Tomcat Source Code Disclosure
The default servlet (org.apache.catalina.servlets.DefaultServlet) in Tomcat 4.0.4 and 4.1.10 and earlier allows remote attackers to read source code for server files via a direct request to the servlet.
- Record
GHSA-jxcv-v856-j5vg- Weakness
- CWE-200
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.tomcat:tomcatMaven |
4.0.0 to 4.0.4 | 4.0.5 |
org.apache.tomcat:tomcatMaven |
4.1.0 to 4.1.10 | 4.1.12 |
tomcat4Debian:3.0 |
before 4.0.3-3woody1 | 4.0.3-3woody1 |
org.apache.tomcat:tomcatMaven |
4.0.0 up to 4.0.5 | 4.0.5 |
org.apache.tomcat:tomcatMaven |
4.1.0 up to 4.1.12 | 4.1.12 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Apache Tomcat 3/4 - 'DefaultServlet' File Disclosure | 2002-09-24 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2002-1148 is a medium vulnerability (CVSS 5.0) in Apache Tomcat, published October 4, 2002. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 18.6%, the 97th percentile. Fixed in org.apache.tomcat:tomcat 4.0.5.
References
debian.org/security/2002/dsa-170
securityfocus.com/bid/5786
redhat.com/support/errata/RHSA-2002-217.html
iss.net/security_center/static/10175.php
online.securityfocus.com/advisories/4758
redhat.com/support/errata/RHSA-2002-218.html
Show 15 moreShow less
marc.info?l=bugtraq&m=103288242014253&w=2
lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2002-1148
lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@%3Cdev.tomcat.apache.org%3E
web.archive.org/web/20021027204137/http://www.iss.net/security_center/static/10175.php
web.archive.org/web/20030113141130/http://online.securityfocus.com/advisories/4758
web.archive.org/web/20030710185447/http://www.securityfocus.com/bid/5786
web.archive.org/web/20040814165854/http://rhn.redhat.com/errata/RHSA-2002-217.html
web.archive.org/web/20040817035804/http://rhn.redhat.com/errata/RHSA-2002-218.html
web.archive.org/web/20070430075037/http://www.debian.org/security/2002/dsa-170
github.com/advisories/GHSA-jxcv-v856-j5vg