CVE-2019-7876: Magento 2 Community Edition RCE Vulnerability
8.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.73756%
CWE
-
Published
5/24/2022
Updated
2/12/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
magento/community-edition | composer | >= 2.1, < 2.1.18 | 2.1.18 |
magento/community-edition | composer | >= 2.2, < 2.2.9 | 2.2.9 |
magento/community-edition | composer | >= 2.3, < 2.3.2 | 2.3.2 |
magento/product-community-edition | composer | >= 2.1, < 2.1.18 | 2.1.18 |
magento/product-community-edition | composer | >= 2.2, < 2.2.9 | 2.2.9 |
magento/product-community-edition | composer | >= 2.3, < 2.3.2 | 2.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper handling of user-controlled layout XML updates. The Merge::addPageHandles
function directly processes these updates, and Builder::build
executes the compromised layout structure. These functions lack sufficient sanitization, enabling RCE via crafted XML payloads in layout updates. The high confidence stems from Magento's architecture where layout processing is a known attack surface for this CVE.