GitHub Advisory Database
GHSA-2x2q-2xpv-mcf9
Magento 2 Community Edition SQLi Vulnerability
Details
A SQL 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 authenticated user with privileges to an account with Newsletter Template editing permission could exfiltrate the Admin login data, and reset their password, effectively performing a privilege escalation.
As per the Magento Release 2.3.3, if you have already implemented the pre-release version of this patch (2.3.2-p1), it is highly recommended to promptly upgrade to 2.3.2-p2.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | From 2.2.0 before 2.2.10 (fixed in 2.2.10) |
| Packagist | magento/community-edition | From 2.3.0 before 2.3.2-p2 (fixed in 2.3.2-p2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-8127
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8127.yaml
- https://github.com/magento/magento2
- https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update
- https://web.archive.org/web/20220121051105/https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update