Skip to content
OpenAdvisories
Critical · 9.1 Public exploit CVE-2021-21014 BIT-magento-2021-21014EUVD-2022-1919GHSA-269w-pqc7-68q9

Magento Commerce Arbitrary Folder Empty Could Lead To Arbitrary Code Execution

Published Feb 11, 2021 · Updated Sep 16, 2024 · Assigned by adobe

Description

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a file upload restriction bypass. Successful exploitation could lead to arbitrary code execution by an authenticated attacker. Access to the admin console is required for successful exploitation.

Affected products

VendorProductAffectedFixed
Adobe Magento Commerce unspecified – ≤ 2.4.1, unspecified – ≤ 2.4.0-p1, unspecified – ≤ 2.3.6, unspecified – ≤ None —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • HoangKien1020/CVE-2021-21014 ★ 4 · Feb 13, 2021

    Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a file upload restriction bypass. Successful exploitation could lead to arbitrary code execution…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist magento/community-edition < 2.3.6-p1 2.3.6-p1 GHSA-269w-pqc7-68q9
Packagist magento/community-edition >= 2.4.0, < 2.4.2 2.4.2 GHSA-269w-pqc7-68q9
Packagist magento/project-community-edition <= 2.0.2 — GHSA-269w-pqc7-68q9

References