CVE-2019-12799 Shopware Insecure Deserialization Vulnerability

Medium 6.5 Published Updated

An attacker can achieve remote code execution in Shopware by exploiting a PHP object instantiation vulnerability that bypasses previous security patches.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-12799?

CVE-2019-12799 is a medium-severity unsafe deserialization vulnerability in Shopware Shopware, published on 13 Jun 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In createInstanceFromNamedArguments in Shopware through 5.6.x, a crafted web request can trigger a PHP object instantiation vulnerability, which can result in an arbitrary deserialization if the right class is instantiated. An attacker can leverage this deserialization to achieve remote code execution. NOTE: this issue is a bypass for a CVE-2017-18357 whitelist patch.

Weakness: CWE-502

Which versions are affected by CVE-2019-12799?

2 open source packages ship an affected version, including shopware/shopware. It affects 1 product.

PackageAffectedFixed in
shopware/shopware PackagistFrom 5.3.0 to 5.6.0None
shopware/shopware PackagistFrom 5.3.0 to 5.6.0None

Products include Shopware Shopware.

How do I fix CVE-2019-12799?

No fix has been published for CVE-2019-12799 yet. Limit exposure of the affected software until one is available.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2019-12799 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-12799 exists.

Public exploit code: 1 Metasploit module.

All Shopware Shopware vulnerabilities

Sources

Also known as GHSA-rf8f-hqjv-986p.

Is CVE-2019-12799 in your software?

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

Check your SBOMs for free