CVE-2019-8158
PRODSECBUG-2272: XPath Injection via front end rendering functionality
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
An XPath entity injection vulnerability exists in Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1. An attacker can craft a GET request to page cache block rendering module that gets passed to XML data processing engine without validation. The crafted key/value GET request data allows an attacker to limited access to underlying XML data.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| composer::GitHub Security Advisory Composer | magento/community-edition | 2.2.10, 2.3.2-p2 |
| composer::PHP Security Advisories Database | magento/product-community-edition | no fix listed |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8158.yaml
- https://github.com/magento/magento2
- https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update
- https://nvd.nist.gov/vuln/detail/CVE-2019-8158
- https://web.archive.org/web/20220121051105/https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update