Apache Cocoon Directory Traversal Vulnerability

BID:8883

Info

Apache Cocoon Directory Traversal Vulnerability

Bugtraq ID: 8883
Class: Access Validation Error
CVE:
Remote: Yes
Local: No
Published: Oct 24 2003 12:00AM
Updated: Oct 24 2003 12:00AM
Credit: The disclosure of this issue has been credited to Thierry De Leeuw.
Vulnerable: Apache Cocoon 2.2
Apache Cocoon 2.1
Not Vulnerable:

Discussion

Apache Cocoon Directory Traversal Vulnerability

It has been reported that Apache Cocoon may be prone to a directory traversal vulnerability that may allow an attacker to traverse outside the server root directory by using '/./../' character sequences. The issue is caused by insufficient sanitization of user-supplied input to the "filename" parameter in the sample "view-source" script.

This vulnerability may be successfully exploited to gain sensitive information about a vulnerable host that could be used to launch further attacks against the system.

Apache Cocoon version 2.1 and 2.2 before 22 Oct 2003 have been reported to be affected by this issue, however other versions may be affected as well.

Exploit / POC

Apache Cocoon Directory Traversal Vulnerability

The following proof of concept has been provided:

http://www.example.com:8888/samples/view-source?filename=../../../[existing_file]

Solution / Fix

Apache Cocoon Directory Traversal Vulnerability

Solution:
It has been reported that Apache Cocoon version 2.1 and 2.2 after 22 Oct 2003 are not affected by this issue, however this has not been verified by Symantec.

References

Apache Cocoon Directory Traversal Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report