LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39217: OpenMage LTS arbitrary command execution in custom layout update through blocks

OpenMage LTS is an e-commerce platform. Prior to versions 19.4.22 and 20.0.19, Custom Layout enabled admin users to execute arbitrary commands via block methods. Versions 19.4.22 and 20.0.19 contain patches for this issue.

HighCVSS 7.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2021-39217 affects OpenMage LTS e-commerce sites. An authenticated admin could abuse Custom Layout block methods to run arbitrary commands on the server. The attacker already needs high privileges, but successful misuse can fully compromise confidentiality, integrity, and availability.

Executive priority

Prioritize patching affected OpenMage stores because the business impact can be full server compromise. Urgency is high, especially for stores with multiple admins or weak admin controls.

Technical view

OpenMage magento-lts before 19.4.22, and 20.0.0 through before 20.0.19, allowed arbitrary command execution through Custom Layout updates using block methods. The issue is classified as CWE-77 with CVSS 3.1 score 7.2 and high privileges required.

Likely exposure

Exposure is limited to OpenMage magento-lts installations on affected versions. Risk is highest where admin access is broadly delegated, weakly protected, or already compromised.

Exploitation context

The bundle does not show CISA KEV listing or other evidence of active exploitation. Exploitation requires authenticated admin-level access, but impact is severe if that access is abused.

Researcher notes

Do not generalize beyond OpenMage magento-lts from the provided evidence. The key condition is high-privilege admin access to Custom Layout behavior. The public sources identify fixed versions, not a separate workaround.

Mitigation direction

  • Upgrade 19.x deployments to 19.4.22 or later.
  • Upgrade 20.x deployments to 20.0.19 or later.
  • Review vendor advisory and release notes before maintenance.
  • Restrict admin access to trusted users only.
  • Remove unnecessary Custom Layout privileges where feasible.
  • Strengthen admin account protection and monitoring.

Validation and detection

  • Inventory OpenMage magento-lts versions across all stores.
  • Confirm affected deployments are at 19.4.22, 20.0.19, or later.
  • Verify the referenced patch is present in deployed code.
  • Review admin roles with Custom Layout capabilities.
  • Check admin activity logs for unexpected layout changes.
  • Confirm no untrusted users hold admin privileges.
Prepared
Confidence
high
Sources
6

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-77: Command execution behavior lookup

Command injection weaknesses can lead defenders to review execution techniques and command interpreter telemetry. 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
cve · low confidence lookup

CVE-2021-39217 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
High
CVSS
7.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/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
5Source 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
7.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H1.25.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.2High
CVSS 3.1 vector shape for CVE-2021-39217Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/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
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
OpenMagemagento-lts< 19.4.22, >= 20.0.0, < 20.0.19Listed
Weakness

CWE details

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

CWE-77 · source CWE mapping

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

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