CVE-2011-3712: Cakephp/cakephp CakePHP 1.3.7 Allows Remote Attackers Vulnerability
MODERATECVE-2011-3712 is a MODERATE cakephp 1.3.7 allows remote attackers vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Cakephp/cakephp libraries in the Packagist ecosystem. The issue involves cakephp 1.3.7 allows remote attackers to obtain sensitive information via a direct request to a .php file. Remediation is available by upgrading affected packages to version 1.3.8.
CVE-2011-3712 at a Glance
How to Fix CVE-2011-3712
To remediate this vulnerability, upgrade all affected Cakephp/cakephp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade cakephp/cakephp to 1.3.8
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for cakephp/cakephp
How to Check if You Are Affected
To determine whether your application is affected by CVE-2011-3712, inspect your project dependencies for Cakephp/cakephp:
inspect dependencies for cakephp/cakephp
Analyze the terminal output to locate any version of Cakephp/cakephp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.3.8), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Cakephp/cakephp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2011-3712 Affected Cakephp/cakephp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cakephp/cakephp
|
Packagist |
≥ 1.3.7
< 1.3.8
All 1 versions
1.3.7
|
1.3.8
|
References
Frequently Asked Questions
What is CVE-2011-3712?
Which Cakephp/cakephp versions are affected?
What version fixes CVE-2011-3712?
Is cakephp/cakephp affected?
What CWE is associated with CVE-2011-3712?
How can I check Packagist dependencies for CVE-2011-3712?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r7p6-fr3x-r877",
"modified" : "2023-01-14T05:29:43Z",
"published" : "2022-05-17T05:31:33Z",
"aliases" : [ "CVE-2011-3712" ],
"summary" : "CakePHP 1.3.7 allows remote attackers to obtain sensitive information via a direct request to a .php file",
"details" : "CakePHP 1.3.7 allows remote attackers to obtain sensitive information via a direct request to a `.php` file, which reveals the installation path in an error message, as demonstrated by `dispatcher.php` and certain other files.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "cakephp/cakephp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.7"
}, {
"fixed" : "1.3.8"
} ]
} ],
"versions" : [ "1.3.7" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-3712"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cakephp/cakephp"
}, {
"type" : "WEB",
"url" : "http://code.google.com/p/inspathx/source/browse/trunk/paths_vuln/%21_README"
}, {
"type" : "WEB",
"url" : "http://code.google.com/p/inspathx/source/browse/trunk/paths_vuln/cakephp-1.3.7"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2011/06/27/6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-14T05:29:43Z",
"nvd_published_at" : "2011-09-23T23:55:00Z"
}
}