CVE-2021-21031

Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access

5.6 medium EPSS 1.60%

Published 11 Feb 2021 Updated 16 Sep 2024 CNA: adobe

Description

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) do not adequately invalidate user sessions. Successful exploitation could lead to unauthorized access to restricted resources. Access to the admin console is not required for successful exploitation.

Severity (CVSS)

5.6 medium CVSS 3.0 from adobe (CNA)
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity low, availability low: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.60%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 76.4% of all scored CVEs. Scores of 2 Dec 2026.

Weakness

  • CWE-613 DEPRECATED: Insufficient Session Expiration

Affected products

As the CNA lists them.

ProductVersions
Magento.com
affected up to and including 2.4.1
affected up to and including 2.4.0-p1
affected up to and including 2.3.6
affected up to and including None

Is my server affected?

This CVE is in Magento.com 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-21031 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.