CVE-2020-15400: 
PHP vulnerability analysis and mitigation

Overview

CakePHP versions before 4.0.6 contain a vulnerability in CSRF token generation (CVE-2020-15400). The vulnerability was discovered and reported by Nirmal Kirubakaran through the security mailing list. The issue was publicly disclosed on April 18, 2020, affecting CakePHP installations prior to version 4.0.6 (CakePHP Blog, CVE Mitre).

Technical details

The vulnerability stems from improper handling of CSRF token generation in CakePHP's security middleware. The core issue involves the lack of HMAC signing with Security.salt in the token generation process, which could potentially allow token fixation under specific circumstances (CakePHP Blog).

Impact

If successfully exploited, this vulnerability could enable CSRF attacks when combined with XSS vulnerabilities or physical access to fixate a CSRF token. CSRF tokens generated in versions prior to 4.0.6 would be rejected by the patched version due to the absence of HMAC signing (CakePHP Blog).

Exploitability

The vulnerability is remotely exploitable when combined with XSS vulnerabilities. An attacker would need to successfully exploit an XSS vulnerability or have physical access to perform token fixation before executing CSRF attacks (CVE Mitre).

Mitigation and workarounds

The vulnerability was addressed in CakePHP 4.0.6 by implementing HMAC signing of CSRF tokens using Security.salt. Users should upgrade to version 4.0.6 or later to receive the security fix. After upgrading, previously generated CSRF tokens will be invalidated as they lack the required HMAC signature (CakePHP Blog).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-109449HIGH8.7
  • PHP logoPHP
  • composer://symfony/expression-language
NoYesOct 15, 2026
CVE-2026-109413HIGH8.7
  • PHP logoPHP
  • composer://symfony/symfony
NoYesOct 15, 2026
CVE-2026-108082HIGH8.7
  • PHP logoPHP
  • composer://symfony/http-foundation
NoYesOct 15, 2026
CVE-2026-107381MEDIUM6.5
  • PHP logoPHP
  • enshrined/svg-sanitize
NoYesOct 14, 2026
CVE-2026-56826MEDIUM5.4
  • PHP logoPHP
  • shopper/framework
NoYesOct 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management