VDB
Sign up
HIGH8.8

GHSA-2x2q-2xpv-mcf9

Magento 2 Community Edition SQLi Vulnerability

Quick fix

GHSA-2x2q-2xpv-mcf9 — magento/community-edition: upgrade to the fixed version with the command below.

composer require magento/community-edition:^2.2.10

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](https://web.archive.org/web/20201126132230/https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-3-commerce.html#new-security-only-patch-available), 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/magento/community-edition
Introduced in: 2.2.0Fixed in: 2.2.10
Fixcomposer require magento/community-edition:^2.2.10
Packagist/magento/community-edition
Introduced in: 2.3.0Fixed in: 2.3.2-p2
Fixcomposer require magento/community-edition:^2.3.2-p2

References