Advisory Details

April 7th, 2025

Amazon AWS CloudFormation Templates Uncontrolled Search Path Element Remote Code Execution Vulnerability

ZDI-25-206
ZDI-CAN-25427

CVE ID
CVSS SCORE 9.8, AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
AFFECTED VENDORS Amazon
AFFECTED PRODUCTS AWS
VULNERABILITY DETAILS

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Amazon AWS. Authentication is not required to exploit this vulnerability.

The specific flaw exists within the installation of AWS Simple Storage Service. When installed from the official GitHub repository, the installation attempts to load a non-existent cloud resource that is vulnerable to takeover. An attacker can leverage this vulnerability to execute code on systems dependent on the cloud resource.

ADDITIONAL DETAILS

The affected repo was removed


DISCLOSURE TIMELINE
  • 2024-10-03 - Vulnerability reported to vendor
  • 2025-04-07 - Coordinated public release of advisory
  • 2025-04-07 - Advisory Updated
CREDIT Nitesh Surana (@_niteshsurana) of Trend Micro Research
BACK TO ADVISORIES