OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA38316] Apache Tomcat WAR Deployment Directory Traversal Weaknesses and Security Issue

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Mon Jan 25 2010 - 17:32:10 CST


----------------------------------------------------------------------

Secunia integrated with Microsoft WSUS
http://secunia.com/blog/71/

----------------------------------------------------------------------

TITLE:
Apache Tomcat WAR Deployment Directory Traversal Weaknesses and
Security Issue

SECUNIA ADVISORY ID:
SA38316

VERIFY ADVISORY:
http://secunia.com/advisories/38316/

DESCRIPTION:
Some weaknesses and a security issue have been reported in Apache
Tomcat, which can be exploited by malicious users and malicious
people to manipulate certain data, and by malicious people to gain
access to potentially sensitive information.

1) In case of a failed undeploy, some autodeployed files may remain
with improper access restrictions, potentially leading to e.g. the
disclosure of sensitive information.

2) The application does not properly sanitise the file name of WAR
files, which can be exploited to e.g. delete files within the host's
work directory by deploying WAR files with directory traversal
sequences in the file name.

3) The application does not properly sanitise the file names of files
contained in a WAR file, which can be exploited to e.g. create
arbitrary files outside of the web root via a specially crafted WAR
file.
 
The weaknesses and the security issue are reported in version 6.0.0
to 6.0.20.

SOLUTION:
Update to version 6.0.24 or apply patch.
http://tomcat.apache.org/download-60.cgi

Patch:
http://svn.apache.org/viewvc?rev=892815&view=rev

PROVIDED AND/OR DISCOVERED BY:
1, 2) Reported by the vendor.
3) The vendor credits Marc Schoenefeld, Red Hat Security Response
Team

ORIGINAL ADVISORY:
http://tomcat.apache.org/security-6.html
1)
http://archives.neohapsis.com/archives/fulldisclosure/2010-01/0476.html
2)
http://archives.neohapsis.com/archives/fulldisclosure/2010-01/0478.html
3)
http://archives.neohapsis.com/archives/fulldisclosure/2010-01/0477.html

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------