LiveActive security incident?Get immediate response
CVE Record

CVE-2021-37708: Command injection in mail agent settings

Shopware is an open source eCommerce platform. Versions prior to 6.4.3.1 contain a command injection vulnerability in mail agent settings. Version 6.4.3.1 contains a patch. As workarounds for older versions of 6.1, 6.2, and 6.3, corresponding security measures are also available via a plugin.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Affected Shopware stores could let an authenticated user trigger operating-system command injection through mail agent settings. Successful abuse could compromise confidentiality, integrity, and availability of the Shopware host. The vendor fixed this in 6.4.3.1 and provided security-plugin measures for older 6.1, 6.2, and 6.3 branches.

Executive priority

Treat this as a high-priority remediation for any affected Shopware store because compromise could affect store data, transactions, and service availability. The authentication requirement lowers likelihood versus unauthenticated remote flaws, but the business impact remains severe.

Technical view

CVE-2021-37708 is a CWE-77 command injection flaw in Shopware platform mail agent settings before 6.4.3.1. The CVSS 3.1 score is 8.8 with network access, low attack complexity, low privileges, no user interaction, and high confidentiality, integrity, and availability impact.

Likely exposure

Internet-facing Shopware platform deployments running versions up to 6.4.3.0 are the relevant exposure. Risk depends on whether an attacker can authenticate and reach mail agent settings. The source bundle does not identify specific roles, deployment modes, or hosted-service boundaries.

Exploitation context

The sources do not state active exploitation, and the CVE is not marked as KEV in the provided bundle. The CVSS vector indicates exploitation requires some privileges but no user interaction, with potentially full host-level impact if command injection succeeds.

Researcher notes

Primary evidence is vendor advisory metadata and the linked patch commit. The bundle does not include exploit details, affected role requirements, or proof of in-the-wild exploitation. Validate exposure by version and configuration rather than assuming every Shopware instance is exploitable.

Mitigation direction

  • Upgrade Shopware platform to 6.4.3.1 or later.
  • For 6.1, 6.2, or 6.3, apply the corresponding Shopware security plugin measures.
  • Restrict access to mail agent settings until remediation is complete.
  • Check the Shopware advisory for any branch-specific guidance before changes.
  • Prioritize backups and recovery readiness for affected Shopware hosts.

Validation and detection

  • Confirm the installed Shopware platform version is 6.4.3.1 or later.
  • Inventory any Shopware 6.1, 6.2, or 6.3 systems using the security plugin workaround.
  • Review administrative access to mail agent settings.
  • Check audit logs for unusual mail settings changes before remediation.
  • Verify remediation in staging before production deployment.
Prepared
Confidence
high
Sources
4

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
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. 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-37708 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
8.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:L/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
3Source 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
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

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

Vector: CVSS:3.1/AV:N/AC:L/PR:L/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
shopwareplatform<= 6.4.3.0Listed
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.