Security risks and hardening guide for unauthenticated public functions in Google Cloud Run
The Risk of Exposed Cloud Functions and How to Harden
AI summary
Mandiant security assessments found a large number of unauthenticated, publicly exposed serverless applications. Cloud Run services with third-party dependencies are susceptible to local file inclusion (LFI), remote file inclusion, and command injection attacks, which can lead to full control of container instances and further lateral movement to compromise the cloud environment. The blog draws on customer experience to outline attack scenarios and provides a set of hardening recommendations for Google Cloud Run services and functions that must be publicly accessible; the same principles apply to any public serverless deployment.