Skip to content
RCE Advisory Intermediate

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

The AWS CloudFormation templates installation from the official GitHub repository attempts to load a non-existent cloud resource that is vulnerable to takeover. An attacker could leverage this to execute code on systems dependent on the cloud resource.

Nitesh Surana Follow

Originally disclosed on Zero Day Initiative

Critical 9.8 View original

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

Nitesh Surana (@_niteshsurana) of Trend Micro Research, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could execute arbitrary code on systems that depend on the taken-over cloud resource.

What the attacker needed

Install from the official GitHub repository

The fix

The affected repository was removed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

When you install software, it sometimes looks for extra files or resources online. Here, the installer looked for a cloud resource that no longer existed, so someone else could claim it. That person could then run their own code on any system that used the installer.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Nitesh Surana

View all

51 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.