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.
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]
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.
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.