search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Apache Tomcat UTF8 Directory Traversal Vulnerability

Vulnerability Note VU#343355

Original Release Date: 2008-08-19 | Last Revised: 2008-08-19

Overview

Apache Tomcat contains a vulnerability that may allow directory traversal.

Description

Apache Tomcat is an implementation of the Java Servlet and JavaServer Page (JSP) technologies. Apache Tomcat contains a vulnerability in the way malformed requests are handled. According to the Apache Tomcat 6.x Vulnerabilities page:


    If a context is configured with allowLinking="true" and the connector is configured with URIEncoding="UTF-8" then a malformed request may be used to access arbitrary files on the server.

This vulnerability affects versions 4.1.0-4.1.37, 5.5.0-5.5.26, and 6.0.0-6.0.16.

Note that we are aware of publicly-available exploit code for this vulnerability.

Impact

A remote attacker could gain access to arbitrary files on the server.

Solution

Apply an update
This vulnerability is addressed in Apache Tomcat 4.1.38, 5.5.27, and 6.0.18. Please check the Apache Tomcat Security page for availability of fixes for this and other versions of Tomcat.

Vendor Information

343355
 
Affected   Unknown   Unaffected

Apache Tomcat

Updated:  August 19, 2008

Status

  Vulnerable

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Refer to http://tomcat.apache.org/security.html for more information.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Acknowledgements

This issue was reported by William A. Rowe of Apache.

This document was written by Chris Taschner.

Other Information

CVE IDs: CVE-2008-2938
Severity Metric: 7.14
Date Public: 2008-08-11
Date First Published: 2008-08-19
Date Last Updated: 2008-08-19 20:29 UTC
Document Revision: 4

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.