CVE-2019-11458 Unsafe deserialization in SmtpTransport in CakePHP
An attacker can overwrite arbitrary files by sending a crafted serialized object to the SmtpTransport component in CakePHP.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-11458?
CVE-2019-11458 is a high-severity unsafe deserialization vulnerability in n/a, published on 8 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in SmtpTransport in CakePHP 3.7.6. An unserialized object with modified internal properties can trigger arbitrary file overwriting upon destruction.
Weakness: CWE-502
Which versions are affected by CVE-2019-11458?
6 open source packages ship an affected version, including cakephp/cakephp. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
cakephp/cakephp Packagist | From 3.0.0 | 3.5.18 |
cakephp/cakephp Packagist | From 3.0.0 | 3.5.18 |
cakephp/cakephp Packagist | From 3.6.0 | 3.6.15 |
cakephp/cakephp Packagist | From 3.6.0 | 3.6.15 |
cakephp/cakephp Packagist | From 3.7.0 | 3.7.7 |
cakephp/cakephp Packagist | From 3.7.0 | 3.7.7 |
Products include Cakephp Cakephp.
How do I fix CVE-2019-11458?
Upgrade cakephp/cakephp to a fixed version for your release line: 3.5.18, 3.6.15 or 3.7.7.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2019-11458 being exploited?
There is no known exploitation of CVE-2019-11458 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2023-22727 Database Query::offset() and limit() vulnerable to SQL injection in cakephp
- CVE-2020-35239 CakePHP allows method override parameters to bypass CSRF checks
- CVE-2015-8379 CakePHP might allow remote attackers to bypass CSRF protection mechanism via the _method parameter
- CVE-2016-4793 CakePHP allows remote attackers to spoof their IP
- CVE-2026-23643 CakePHP PaginatorHelper::limitControl() vulnerable to reflected cross-site-scripting
Sources
Also known as GHSA-qhrx-hcm6-pmrw.