SecurityContext

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

IdName
CWE-20Improper Input Validation

References

UrlSourceTags
https://helpx.adobe.com/security/products/magento/apsb21-64.htmlnvdPatch, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
adobe:magento_open_source= 2.4.2 p1; >= 2.4.0, <= 2.4.2; >= 2.3.0, <= 2.3.7nonvd/v1/products/adobe/magento_open_source
adobe:adobe_commerce= 2.4.2 p1; >= 2.4.0, <= 2.4.2; >= 2.3.0, <= 2.3.7nonvd/v1/products/adobe/adobe_commerce

Projects

RepositoryLink kindsIndexedUrl
magento/magento2packageyes/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