← 返回列表

ImageRunner: Privilege Escalation Vulnerability in GCP Cloud Run

单站 CloudVulnDB 发布 Tue, 01 Apr 2025 00:00:00 GMT 入库 2026-11-18T07:04:25

medium

ImageRunner: Privilege Escalation Vulnerability in GCP Cloud Run

Published Tue, Apr 1st, 2025

Platforms

gcp

An attacker with `run.services.update` and `iam.serviceAccounts.actAs` permissions but without explicit registry access could deploy new revisions of Cloud Run services that pulled private container images stored in the same GCP project. This was possible because Cloud Run uses a service agent with the necessary registry read permissions to retrieve these images, regardless of the caller’s access level. By updating a service revision and injecting malicious commands into the container's arguments (e.g., using Netcat for reverse shell access), attackers could extract secrets or run unauthorized code. The flaw stemmed from the Cloud Run service agent’s trust model, which did not enforce a separate registry permission check on the deploying identity. Google has since modified this behavior to require that the identity updating the Cloud Run resource also has explicit Artifact Registry Reader or Storage Object Viewer roles.

Cloud Run

No tracked CVEs

Contributed by https://github.com/mer-b

Entry Status

Finalized

Disclosure Date

Mon, Nov 25th, 2024

Exploitability Period

Until 2025/01/25

Known ITW Exploitation

-

Detection Methods

None

Piercing Index Rating

Discovered by

Liv Matan, Tenable

critical

A publicly exposed GitHub token in CodeQL workflow artifacts could allow attackers to execute malicious code in repositories using CodeQL, potentially leading to source code exfiltration, secrets c...

medium

A bug in Entra ID restricted management administrative units allowed creating immutable users that couldn't be modified or disabled, even by Global Administrators. This could enable an attacker to ...

high

AWS identified a security issue in the AWS CDK CLI versions 2.172.0-2.178.1 where temporary credentials from custom credential plugins could be printed to console output. This potentially exposes s...

原文链接:https://www.cloudvulndb.org/imagerunner