CVE-2021-36042: Magento Commerce - Unrestricted File Upload
- Cve: CVE-2021-36042
- Name: Magento Commerce - Unrestricted File Upload
- Description: Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper input validation vulnerability in the API File Option Upload Extension. An attacker with Admin privileges can achieve unrestricted file upload which can result in remote code execution.
- Impact: Attackers can upload malicious files leading to remote code execution on the server.
- Remediation: Update to the latest version of Magento Commerce where this issue is fixed.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: admin_privileges
- Requirements: Attacker needs admin privileges
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02474
- Epss percentile: 0.84937
- Assignee: [email protected]
- Published at: 2021-09-01T15:15:10Z
- Age in days: 1910
- Modified at: 2026-06-17T03:58:15Z
- Patch available: yes
- References total: 1
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-36042
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
| Url | Source | Tags |
|---|---|---|
| https://helpx.adobe.com/security/products/magento/apsb21-64.html | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| adobe:magento_open_source | = 2.4.2 p1; >= 2.4.0, <= 2.4.2; >= 2.3.0, <= 2.3.7 | no | nvd | /v1/products/adobe/magento_open_source |
| adobe:adobe_commerce | = 2.4.2 p1; >= 2.4.0, <= 2.4.2; >= 2.3.0, <= 2.3.7 | no | nvd | /v1/products/adobe/adobe_commerce |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| magento/magento2 | package | yes | /v1/repositories/magento/magento2 |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts