DSA-246-1 tomcat -- information exposure, cross site scripting

Related Vulnerabilities: CVE-2003-0042   CVE-2003-0043   CVE-2003-0044  

The developers of tomcat discovered several problems in tomcat version 3.x. The Common Vulnerabilities and Exposures project identifies the following problems: CAN-2003-0042: A maliciously crafted request could return a directory listing even when an index.html, index.jsp, or other welcome file is present. File contents can be returned as well. CAN-2003-0043: A malicious web application could read the contents of some files outside the web application via its web.xml file in spite of the presence of a security manager. The content of files that can be read as part of an XML document would be accessible. CAN-2003-0044: A cross-site scripting vulnerability was discovered in the included sample web application that allows remote attackers to execute arbitrary script code. For the stable distribution (woody) this problem has been fixed in version 3.3a-4woody.1. The old stable distribution (potato) does not contain tomcat packages. For the unstable distribution (sid) this problem has been fixed in version 3.3.1a-1. We recommend that you upgrade your tomcat package.

Debian Security Advisory

DSA-246-1 tomcat -- information exposure, cross site scripting

Date Reported:
29 Jan 2003
Affected Packages:
tomcat
Vulnerable:
Yes
Security database references:
In Mitre's CVE dictionary: CVE-2003-0042, CVE-2003-0043, CVE-2003-0044.
More information:

The developers of tomcat discovered several problems in tomcat version 3.x. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CAN-2003-0042: A maliciously crafted request could return a directory listing even when an index.html, index.jsp, or other welcome file is present. File contents can be returned as well.
  • CAN-2003-0043: A malicious web application could read the contents of some files outside the web application via its web.xml file in spite of the presence of a security manager. The content of files that can be read as part of an XML document would be accessible.
  • CAN-2003-0044: A cross-site scripting vulnerability was discovered in the included sample web application that allows remote attackers to execute arbitrary script code.

For the stable distribution (woody) this problem has been fixed in version 3.3a-4woody.1.

The old stable distribution (potato) does not contain tomcat packages.

For the unstable distribution (sid) this problem has been fixed in version 3.3.1a-1.

We recommend that you upgrade your tomcat package.

Fixed in:

Debian GNU/Linux 3.0 (woody)

Source:
http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a-4woody1.dsc
http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a-4woody1.diff.gz
http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a.orig.tar.gz
Architecture-independent component:
http://security.debian.org/pool/updates/contrib/t/tomcat/tomcat_3.3a-4woody1_all.deb
Intel IA-32:
http://security.debian.org/pool/updates/contrib/t/tomcat/libapache-mod-jk_3.3a-4woody1_i386.deb

MD5 checksums of the listed files are available in the original advisory.