LiveActive security incident?Get immediate response
CVE Record

CVE-2021-21024: Magento Commerce Blind SQL Injection Could Lead To Unauthorized Access

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are affected by a blind SQL injection vulnerability in the Search module. Successful exploitation could lead to unauthorized access to restricted resources by an unauthenticated attacker. Access to the admin console is required for successful exploitation.

CriticalCVSS 9.1Not KEV-listedUpdated
Glexia's TakeAutomated analysiscritical

Security readout for executives and security teams

Plain-English summary

This is a critical blind SQL injection flaw in Magento Commerce's Search module. The source bundle says successful exploitation could allow unauthorized access to restricted resources. Exposure appears limited to attackers with admin-console access, although the bundled description also mentions unauthenticated attack, creating an evidence conflict.

Executive priority

Treat as urgent for any affected Magento Commerce environment because the impact is high and the software is business-facing. Prioritize patch verification and admin-console access reduction, while noting that active exploitation is not evidenced in the supplied sources.

Technical view

CVE-2021-21024 is CWE-89 in Magento Commerce 2.4.1 and earlier, 2.4.0-p1 and earlier, and 2.3.6 and earlier. CVSS 3.0 is 9.1 with network attack vector, low complexity, high privileges, no user interaction, changed scope, and high confidentiality, integrity, and availability impact.

Likely exposure

Organizations running affected Magento Commerce versions are exposed, especially if admin-console access is reachable by broad internal users or the internet. The bundle does not provide CPEs, exact fixed versions, or deployment-specific indicators.

Exploitation context

The CVE is not listed as CISA KEV in the bundle, so active exploitation is not established here. The privilege requirement is unclear: CVSS says high privileges, while the description also says unauthenticated attacker and admin-console access required.

Researcher notes

The main uncertainty is attacker privilege. The CVSS vector requires high privileges, but the description also references an unauthenticated attacker and admin-console access. Validate against Adobe APSB21-08 before drawing conclusions about practical exploitability or scanner logic.

Mitigation direction

  • Review Adobe APSB21-08 for the vendor-approved fix and affected-version matrix.
  • Upgrade affected Magento Commerce installations according to Adobe guidance.
  • Restrict admin-console access to trusted networks and authorized administrators.
  • Audit administrator accounts and remove unnecessary high-privilege access.
  • Monitor Magento and database logs for suspicious search-module activity.

Validation and detection

  • Inventory Magento Commerce versions across production, staging, and backup environments.
  • Confirm whether any instance is 2.4.1 or earlier, 2.4.0-p1 or earlier, or 2.3.6 or earlier.
  • Verify admin-console exposure from the internet and internal network segments.
  • Check whether Adobe APSB21-08 remediation has been applied.
  • Document any compensating access controls protecting the admin console.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-89: Database access and collection lookup

Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-21024 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Critical
CVSS
9.1 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
9.1CVSS 3.0CriticalCVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H2.36Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

9.1Critical
CVSS 3.0 vector shape for CVE-2021-21024Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
AdobeMagento Commerceunspecified, unspecified, unspecified, unspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-89 · source CWE mapping

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.