CVE-2019-11458 Unsafe deserialization in SmtpTransport in CakePHP

High 7.5 Published Updated

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.

PackageAffectedFixed in
cakephp/cakephp PackagistFrom 3.0.03.5.18
cakephp/cakephp PackagistFrom 3.0.03.5.18
cakephp/cakephp PackagistFrom 3.6.03.6.15
cakephp/cakephp PackagistFrom 3.6.03.6.15
cakephp/cakephp PackagistFrom 3.7.03.7.7
cakephp/cakephp PackagistFrom 3.7.03.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.

Sources

Also known as GHSA-qhrx-hcm6-pmrw.

Is CVE-2019-11458 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free