GHSA-j9q2-f9q7-jhgq: Cakephp/cakephp CakePHP SecurityComponent Cross Form Submission Vulnerability
MODERATEGHSA-j9q2-f9q7-jhgq is a MODERATE cakephp securitycomponent cross form submission vulnerability (General Security Weakness) affecting Cakephp/cakephp libraries in the Packagist ecosystem. The issue involves cakephp securitycomponent cross form submission issue. Remediation is available by upgrading affected packages to version 2.4.8, 1.3.18.
GHSA-j9q2-f9q7-jhgq at a Glance
How to Fix GHSA-j9q2-f9q7-jhgq
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 2.4.8
Upgrade cakephp/cakephp to 1.3.18
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 GHSA-j9q2-f9q7-jhgq, 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 2.4.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 General Security Weakness. 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
GHSA-j9q2-f9q7-jhgq Affected Cakephp/cakephp Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cakephp/cakephp
|
Packagist |
≥ 2.0.0
< 2.4.8
|
2.4.8
|
|
cakephp/cakephp
|
Packagist |
≥ 1.3.0
< 1.3.18
|
1.3.18
|
References
Frequently Asked Questions
What is GHSA-j9q2-f9q7-jhgq?
Which Cakephp/cakephp versions are affected?
What version fixes GHSA-j9q2-f9q7-jhgq?
Is cakephp/cakephp affected?
What CWE is associated with GHSA-j9q2-f9q7-jhgq?
How can I check Packagist dependencies for GHSA-j9q2-f9q7-jhgq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-j9q2-f9q7-jhgq",
"modified" : "2023-01-20T23:22:09Z",
"published" : "2023-01-20T23:22:09Z",
"aliases" : [ ],
"summary" : "CakePHP SecurityComponent cross form submission issue",
"details" : "Prior to versions 2.4.8 and 1.3.18, forms secured by SecurityComponent could be submitted to any action without triggering SecurityComponent’s tampering protection. If an application contained multiple POST forms to manipulate the same models, it could be vulnerable to mass assignment issues.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "cakephp/cakephp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"fixed" : "2.4.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "cakephp/cakephp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.3.0"
}, {
"fixed" : "1.3.18"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/cakephp/cakephp/commit/f23d811ff59c50ef278e98bb75f4ec1e7e54a5b3"
}, {
"type" : "WEB",
"url" : "https://bakery.cakephp.org/2014/04/29/CakePHP-1-3-18-and-2-4-8-released.html"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2014-04-29.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cakephp/cakephp"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-01-20T23:22:09Z",
"nvd_published_at" : null
}
}