CVE-2019-12799 Shopware Insecure Deserialization Vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
shopware/shopware Packagist | From 5.3.0 to 5.6.0 | None |
shopware/shopware Packagist | From 5.3.0 to 5.6.0 | None |
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.
Other vulnerabilities in Shopware Shopware
- CVE-2023-22731 Improper Control of Generation of Code in Twig rendered views in shopware
- CVE-2016-3109 Shopware RCE Vulnerability
- CVE-2024-22406 Blind SQL-injection in DAL aggregations in Shopware
- CVE-2021-32711 Leak of information via Store-API
- CVE-2026-31887 Shopware unauthenticated data extraction possible through store-api.order endpoint
Sources
Also known as GHSA-rf8f-hqjv-986p.