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.
Platforms Affected:
- Cake Software Foundation, CakePHP 1.1.7.3363 and prior
Remedy:
Upgrade to the latest version of CakePHP (1.1.8.3544 or later), available from the CakePHP Web site. See References.
Consequences:
Obtain Information
References:
- CakePHP Web site, CakePHP: the rapid development php framework at http://cakephp.org/.
- GulfTech Research And Development September 21, 2006, CakePHP Framework Arbitrary File Access at http://www.gulftech.org/?node=research&article_id=00114-09212006.
- 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
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
