{"id":"CVE-2002-1148","aliases":["DEBIAN-CVE-2002-1148","DSA-170","EUVD-2022-1777","GHSA-jxcv-v856-j5vg"],"status":"published","title":"Apache Tomcat Source Code Disclosure","description":"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.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.18648,"percentile":0.97282,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-200"],"published":"2002-10-04T00:00:00Z","modified":"2026-06-16T21:58:48Z","exploits":[{"source":"exploitdb","id":"EDB-21853","title":"Apache Tomcat 3/4 - 'DefaultServlet' File Disclosure","type":"remote","platform":"unix","date":"2002-09-24","verified":true,"url":"https://www.exploit-db.com/exploits/21853"}],"fixes":[{"ecosystem":"Maven","package":"org.apache.tomcat:tomcat","fixed_in":["4.0.5","4.1.12"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:3.0","package":"tomcat4","fixed_in":["4.0.3-3woody1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"last_affected":"4.0.4"},{"fixed":"4.0.5"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"last_affected":"4.1.10"},{"fixed":"4.1.12"}]}]},{"source":"osv","ecosystem":"Debian:3.0","package":"tomcat4","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.3-3woody1"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.0.5"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.apache.tomcat:tomcat","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"4.1.12"}]}]}],"products":[{"vendor":"apache","product":"tomcat"}],"references":[{"url":"http://www.debian.org/security/2002/dsa-170","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"]},{"url":"http://www.securityfocus.com/bid/5786","tags":["vdb-entry","x_refsource_BID","x_transferred","Exploit","Patch","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-217.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.iss.net/security_center/static/10175.php","tags":["vdb-entry","x_refsource_XF","x_transferred","Vendor Advisory"]},{"url":"http://online.securityfocus.com/advisories/4758","tags":["vendor-advisory","x_refsource_HP","x_transferred"]},{"url":"http://www.redhat.com/support/errata/RHSA-2002-218.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://marc.info/?l=bugtraq\u0026m=103288242014253\u0026w=2","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3%40%3Cdev.tomcat.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2002-1148","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/29dc6c2b625789e70a9c4756b5a327e6547273ff8bde7e0327af48c5@\u003cdev.tomcat.apache.org\u003e","tags":["web"]},{"url":"https://lists.apache.org/thread.html/c62b0e3a7bf23342352a5810c640a94b6db69957c5c19db507004d74@\u003cdev.tomcat.apache.org\u003e","tags":["web"]},{"url":"https://lists.apache.org/thread.html/rb71997f506c6cc8b530dd845c084995a9878098846c7b4eacfae8db3@\u003cdev.tomcat.apache.org\u003e","tags":["web"]},{"url":"https://web.archive.org/web/20021027204137/http://www.iss.net/security_center/static/10175.php","tags":["web"]},{"url":"https://web.archive.org/web/20030113141130/http://online.securityfocus.com/advisories/4758","tags":["web"]},{"url":"https://web.archive.org/web/20030710185447/http://www.securityfocus.com/bid/5786","tags":["web"]},{"url":"https://web.archive.org/web/20040814165854/http://rhn.redhat.com/errata/RHSA-2002-217.html","tags":["web"]},{"url":"https://web.archive.org/web/20040817035804/http://rhn.redhat.com/errata/RHSA-2002-218.html","tags":["web"]},{"url":"https://web.archive.org/web/20070430075037/http://www.debian.org/security/2002/dsa-170","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jxcv-v856-j5vg"}],"sources":{"cve":[{"id":"CVE-2002-1148","description":"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.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:12:17.046Z","updated_at":"2026-11-02T14:33:54.641433Z"}],"euvd":[{"id":"EUVD-2022-1777","description":"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.","status":"published","published":"2004-09-01T04:00:00Z","modified":"2024-08-08T03:12:17Z","updated_at":"2026-11-03T01:14:57.2805Z"}],"ghsa":[{"id":"GHSA-jxcv-v856-j5vg","title":"Apache Tomcat Source Code Disclosure","description":"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.","status":"published","published":"2022-04-30T18:20:37Z","modified":"2024-02-12T19:42:48Z","cwes":["CWE-200"],"updated_at":"2026-11-02T14:37:38.20753Z"}],"nvd":[{"id":"CVE-2002-1148","description":"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.","status":"published","published":"2002-10-11T04:00:00Z","modified":"2026-06-16T21:58:48.793Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:00:42.827505Z"}],"osv":[{"id":"DSA-170","title":"tomcat4 - source code disclosure","status":"published","published":"2002-10-04T00:00:00Z","modified":"2026-03-09T01:20:17.126901Z","updated_at":"2026-11-02T15:46:14.734124Z"},{"id":"GHSA-jxcv-v856-j5vg","title":"Apache Tomcat Source Code Disclosure","description":"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.","status":"published","published":"2022-04-30T18:20:37Z","modified":"2024-02-12T19:58:26.5405Z","cwes":["CWE-200"],"updated_at":"2026-11-02T15:46:51.10002Z"}]}}
