GHSA-556q-h4vr-pgh2high8.8
CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter
Impact
CakePHP 2.x and 3.x before 3.1.5 might allow remote attackers to bypass the CSRF protection mechanism via the _method parameter.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
cakephp/cakephp Packagist
| Affected range | Recorded fix |
|---|---|
| From 2.0.0-alpha before 3.1.5Ecosystem versions | 3.1.5 |
Version evidence: OSV · GHSA-556q-h4vr-pgh2
View original version evidence (131 explicit versions)
Original source description
CakePHP 2.x and 3.x before 3.1.5 might allow remote attackers to bypass the CSRF protection mechanism via the _method parameter.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2015-8379
- Patch github.com/cakephp/cakephp/commit/0f818a23a876c01429196bf7623e1e94a50230f0
- Source reference github.com/cakephp/cakephp
- Source reference bakery.cakephp.org/2015/11/29/cakephp_315_released.html
- Source reference blog.mindedsecurity.com/2016/01/request-parameter-method-may-lead-to.html
- Source reference karmainsecurity.com/KIS-2016-01
- Public exploit reference packetstormsecurity.com/files/135301/CakePHP-3.2.0-CSRF-Bypass.html
- Source reference seclists.org/fulldisclosure/2016/Jan/42
- Source reference www.securityfocus.com/archive/1/537317/100/0/threaded