shopware5/shopware · Security
Shopware Insecure Deserialization Vulnerability
- GHSA ID
- GHSA-rf8f-hqjv-986p
- CVE ID
- CVE-2019-12799
- Severity
- high
- Published
- Updated
- CVSS
- 8.8 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 8.8 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-502 · Deserialization of Untrusted Data
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-12799 ↗
- https://github.com/rapid7/metasploit-framework/pull/11828 ↗
- https://github.com/advisories/GHSA-6m27-7cqj-2mxw ↗
- https://web.archive.org/web/20171112153855/https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe/ ↗
- https://github.com/advisories/GHSA-rf8f-hqjv-986p ↗