Arbitrary file upload in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21014

 

Arbitrary file upload in Magento Open Source and Adobe Commerce (formerly Magento Commerce) - CVE-2021-21014

Published: February 9, 2021


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

Vulnerability details

The vulnerability allows a remote user to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload. A remote privileged user can upload a malicious file and execute it on the server.


Affected software

Magento Open Source
Adobe Commerce (formerly Magento Commerce)

How to mitigate CVE-2021-21014

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