Researchers uncover RCE exploit in Google Cloud, millions of servers at risk

There was a major flaw in Google Cloud Platform (GCP) that could have allowed hackers to run malicious code remotely, on millions of servers and underlying systems. The flaw was discovered by cybersecurity researchers from Tenable, who reported their findings to Google. The company has since addressed the issue and plugged the hole.

According to a press release shared with TechRadar Pro earlier this week, Tenable’s researchers found what’s known as a ‘dependency confusion’ vulnerability, and they dubbed it CloudImposer.

The flaw could have allowed threat actors to execute code on “potentially millions of GCP servers and their customers’ systems,” they said. App Engine, Cloud Function, and Cloud Composer, were said to be most impacted by this vulnerability.

Blast radius “immense”

The flaw was found in GCP’s Composer dependency installation process, which allowed attackers to upload a malicious package to PyPI, which would then be preinstalled on all Composer instances – with high permissions.

As a result, malicious actors could execute code remotely, exfiltrate service account credentials, and move laterally to other GCP services.

Tenable said that its researchers found the bug while running in-depth analysis of documentation from both GCP and the Python Software Foundation. The vulnerability could have resulted in supply chain attacks in the cloud which, as they said, can be “exponentially more damaging” compared to on-prem environments. Since a single malicious package can quickly spread across multiple networks, millions of people could be exposed.

“The blast radius of CloudImposer is immense,” commented Liv Matan, senior research engineer at Tenable. “By discovering and disclosing this vulnerability, we’ve closed a major door that attackers could have exploited on a massive scale.”

Tenable also took the opportunity to slam Google for its “startling lack of awareness and preventive measures” against what it scribes as an “attack technique that’s been known for years”.

More from TechRadar Pro