Skip to main content

CVE-2024-34102 — Vulnerability in magento/community-edition

CRITICAL
Actively Exploited

Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability

Published June 13, 2024Updated July 17, 2024Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected magento/community-edition version?

Paste your composer.lock to check it for CVE-2024-34102 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Adobe Commerce versions 2.4.7, 2.4.6-p5, 2.4.5-p7, 2.4.4-p8 and earlier are affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability that could result in arbitrary code execution. An attacker could exploit this vulnerability by sending a crafted XML document that references external entities. Exploitation of this issue does not require user interaction.

Advisory Timeline

  • First published June 13, 2024 (896 days ago).
  • Last revised July 17, 2024 — 34 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 34 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update magento/community-edition to 2.4.5-p8 or later
composer require "magento/community-edition:^2.4.5-p8"
Composer
Update magento/community-edition to 2.4.6-p6 or later
composer require "magento/community-edition:^2.4.6-p6"
Composer
Update magento/community-edition to 2.4.4-p9 or later
composer require "magento/community-edition:^2.4.4-p9"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (7)

Affects 1 ecosystem: Packagist (1).

PackageFixed In
magento/community-edition Packagist · Affected: 2.4.7No fix available
magento/community-edition Packagist · Affected: 2.4.5-p1, 2.4.5-p2, 2.4.5-p3, 2.4.5-p4 (+3 more)2.4.5-p8
magento/community-edition Packagist · Affected: 2.4.5No fix available
magento/community-edition Packagist · Affected: 2.4.6No fix available
magento/community-edition Packagist · Affected: 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4 (+1 more)2.4.6-p6
magento/community-edition Packagist · Affected: 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+142 more)2.4.4-p9
magento/community-edition Packagist · Affected: 2.4.4No fix available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2024-34102?
Magento Open Source affected by an Improper Restriction of XML External Entity Reference ('XXE') vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2024-34102?
CVE-2024-34102 affects magento/community-edition. It has a 92.6% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-34102 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
92.60%
EPSS percentile: 99.9

This places it in the top 5% of EPSS-scored vulnerabilities — 99.9% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: July 17, 2024

Remediation deadline: August 7, 2024

Also Known As

GHSA-m8cj-3v68-3cxj
BIT-magento-2024-34102

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock