CakePHP js/vendors.php directory traversal
| cakephp-vendors-directory-traversal (29115) |
Description:
CakePHP could allow a remote attacker to traverse directories on the system, caused by an error in the readfile() call. An attacker could exploit this vulnerability by sending a specially-crafted URL request to the js/vendors.php script containing "dot dot" sequences (/../) in the file parameter to view arbitrary files on the system.
*CVSS:
| Base Score: | 7 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 6.1 |
| Exploitability: | High |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Obtain Information
Remedy:
Upgrade to the latest version of CakePHP (1.1.8.3544 or later), available from the CakePHP Web site. See References.
References:
- CakePHP Web site: CakePHP: the rapid development php framework.
- GulfTech Research And Development September 21, 2006: CakePHP Framework Arbitrary File Access .
- BID-20150: CakePHP Vendors.PHP Directory Traversal Vulnerability
- CVE-2006-5031: Directory traversal vulnerability in app/webroot/js/vendors.php in Cake Software Foundation CakePHP before 1.1.8.3544 allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, followed by a filename ending with %00 and a .js filename.
- SA22040: CakePHP "file" Parameter Disclosure of Sensitive Information
Platforms Affected:
- Cake Software Foundation CakePHP 1.1.7.3363 and prior
Reported:
Sep 22, 2006
The information within this database may change without notice. 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. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. 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. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
