Quantum Secular Labs / Blog / Advisories

CVE-2024-34102: Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE) Vulnerability

CVE-2024-34102 is rated critical with a CVSS v3.1 base score of 9.8 and affects Adobe Commerce and Magento Open Source, along with 1 other product in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available. CISA added it to its Known Exploited Vulnerabilities catalog on 2024-07-17, which means exploitation in the wild has been observed.

Vulnerability description

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.

Severity breakdown

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

  • Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
  • Attack complexity: Low. No special conditions; the attack can be repeated reliably.
  • Privileges required: None. No account or prior access is needed.
  • User interaction: None. No action from any user is needed.
  • Scope: Unchanged. Impact stays within the vulnerable component.
  • Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
  • Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
  • Availability impact: High. Total loss of availability; the component can be shut down.

Underlying weakness

CWE-611: Improper Restriction of XML External Entity Reference

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected products

  • Adobe Commerce: 2.4.2; 2.4.2 ext-1; 2.4.2 ext-2; 2.4.2 ext-3; 2.4.2 ext-4; 2.4.2 ext-7; 2.4.3; 2.4.3 ext-1; 2.4.3 ext-2; 2.4.3 ext-3; 2.4.3 ext-4; 2.4.3 ext-7
  • Adobe Magento: 2.4.4; 2.4.4 p1; 2.4.4 p2; 2.4.4 p3; 2.4.4 p4; 2.4.4 p5; 2.4.4 p6; 2.4.4 p7; 2.4.4 p8; 2.4.5; 2.4.5 p1; 2.4.5 p2
  • Adobe Commerce Webhooks: from 1.2.0 before 1.5.0

References