CakePHP
CakePHP: SmtpTransport vulnerable to CRLF header injection
CakePHP is a rapid development framework for PHP. Prior to versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7 on their respective release lines, custom mail headers added with Message::setHeaders() or Message::addHeaders() do not have CRLF bytes removed, allowing header injection when user-controlled data is used in message headers. This issue is fixed in versions 4.5.12, 4.6.5, 5.1.8, 5.2.14, and 5.3.7.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.2high · scored by CNA · CWE-93
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
cakephp cakephp
- >= 4.5.0, < 4.5.12
- >= 4.6.0, < 4.6.5
- >= 5.0.0, < 5.1.9
- >= 5.2.0, < 5.2.14
- >= 5.3.0, < 5.3.7
Fixed in 4.5.12, 4.6.5, 5.1.9, 5.2.14, 5.3.7
Mitigation
Upgrade cakephp to 4.5.12 or 4.6.5 or 5.1.9 or 5.2.14 or 5.3.7 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.