CVE-2019-7857: Magento Cross-Site Request Forgery (CSRF)
4.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.07392%
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:N/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
magento/community-edition | composer | >= 2.2.0, < 2.2.9 | 2.2.9 |
magento/community-edition | composer | >= 2.1.0, < 2.1.18 | 2.1.18 |
magento/community-edition | composer | >= 2.3.0, < 2.3.2 | 2.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from insufficient CSRF protection in cart modification endpoints. The primary vulnerable function is the Add
controller's execute
method, which handles cart additions. Magento's CSRF protection typically uses form key validation, and the absence of proper validation in this critical path would allow CSRF attacks. The secondary candidate relates to the framework's URL processing that might improperly bypass CSRF checks. Confidence is high for the Add
controller as it's directly responsible for the vulnerable functionality, and medium for the framework component as it's a more generalized system.