CVE-2021-36041

Magento Commerce Improper Input Validation Could Lead To Remote Code Execution

9.1 critical EPSS 2.41%

Published 1 Sep 2021 Updated 17 Sep 2024 CNA: adobe

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. An attacker with admin privileges could upload a specially crafted file in the 'pub/media` directory could lead to remote code execution.

Severity (CVSS)

9.1 critical CVSS 3.1 from adobe (CNA)
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
high: the attacker needs an administrative account
User interaction
none: nobody has to click or open anything
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 2.41%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 84.8% of all scored CVEs. Scores of 28 Nov 2026.

Weakness

  • CWE-20 Improper Input Validation

Affected products

As the CNA lists them.

ProductVersions
Magento Commerce
affected up to and including 2.4.2
affected up to and including 2.4.2-p1
affected up to and including 2.3.7
affected up to and including None

Is my server affected?

This CVE is in Magento Commerce of Adobe, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-36041 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.