Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2019-12799 EUVD-2022-5158GHSA-rf8f-hqjv-986p

Shopware Insecure Deserialization Vulnerability

Published Jun 13, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist shopware/shopware >= 5.3.0, <= 5.6.0 — GHSA-rf8f-hqjv-986p

References