SQL injection in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21024

 

SQL injection in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21024

Published: February 10, 2021


Vulnerability identifier: #VU50559
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-21024
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote administrator to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data. A remote authenticated administrator can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

Magento Open Source
Adobe Commerce (formerly Magento Commerce)

How to mitigate CVE-2021-21024

Install updates from vendor's website.

Magento Open Source - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2
Adobe Commerce (formerly Magento Commerce) - addressed in versions 2.3.6-p1, 2.4.1-p1, 2.4.2

External References

Related Security Bulletins