CVE-2019-12799 json
Shopware Insecure Deserialization Vulnerability
published 7y ago modified 4mo ago also GHSA-rf8f-hqjv-986p , EUVD-2022-5158
- cvss
- 6.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 54.1%
- EPSS 54.1% chance of exploitation in 30 days, percentile 99%
- public exploits
- 1
- Metasploit
Summary
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.
Patch / fix
- github.com/rapid7/metasploit-framework#11828 pull request
Is CVE-2019-12799 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- First public exploit (Metasploit exploit/multi/http/shopware_createinstancefromnamedarguments_rce)
- Published
Exploit prediction
54.06% chance of exploitation in the next 30 days, higher than 99% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/shopware_createinstancefromnamedarguments_rce Shopware createInstanceFromNamedArguments PHP Object Instantiation RCE metasploit exploit, excellent rank, 2019-05-09
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 6.5 | CVSS:3.0/AC:L/AV:N/A:N/C:H/I:N/PR:L/S:U/UI:N |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.0 | 6.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | shopware/shopware | >=5.3.0, <=5.6.0 |
no fix listed |
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/rapid7/metasploit-framework/pull/11828
web, issue-tracking, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-12799
advisory
-
github.com
/advisories/GHSA-6m27-7cqj-2mxw
advisory
-
github.com
/shopware5/shopware
package
-
web.archive.org
/web/20171112153855/https://blog.ripstech.com/2017/shopware-php-object-instantiation-to-blind-xxe
web
Sources
- CVE List CVE-2019-12799
- GitHub Advisory GHSA-rf8f-hqjv-986p
- NVD CVE-2019-12799
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.