HighGHSA-556q-h4vr-pgh2CVE-2015-8379
CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter
Published 14 May 2022 · Updated 8 Nov 2023
Affected package
cakephp/cakephpComposer
- Affected
- >=2.0.0-alpha <3.1.5
- Fixed in
- 3.1.5
Update to the fixed version for your release line, for example:
composer require cakephp/cakephp:^3.1.5Details
CakePHP 2.x and 3.x before 3.1.5 might allow remote attackers to bypass the CSRF protection mechanism via the _method parameter.
Is GHSA-556q-h4vr-pgh2 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected cakephp/cakephp, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2015-8379
- Linkgithub.com/cakephp/cakephp/commit/0f818a23a876c01429196bf7623e1e94a50230f0
- Packagegithub.com/cakephp/cakephp
- Linkbakery.cakephp.org/2015/11/29/cakephp_315_released.html
- Linkblog.mindedsecurity.com/2016/01/request-parameter-method-may-lead-to.html
- Linkkarmainsecurity.com/KIS-2016-01
- Linkpacketstormsecurity.com/files/135301/CakePHP-3.2.0-CSRF-Bypass.html
- Linkseclists.org/fulldisclosure/2016/Jan/42
- Linkwww.securityfocus.com/archive/1/537317/100/0/threaded
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.