Unveiling the Vulnerabilities: Hacking Cloud Native Apps and Discovering the Silver Lining
Where
Talks
LASCON 2023
Duration
50 min
Shows how misconfigured Cognito, S3 buckets, OAuth flows and Lambda APIs expose cloud-hosted web applications to takeover.
Summary
This talk covers how to attack cloud-hosted web applications from a black-box position, where the tester has no cloud account and the cloud pieces of an app are not obvious. The speaker argues that traditional scanners miss these issues, so testers first need to find which cloud services an app relies on. Fingerprinting looks at URL patterns, response headers and bundled JavaScript for signs of storage buckets, Cognito pools and API gateways. A Burp extension built for this purpose, Cloud Asset Watcher, flags such assets while you browse.
The middle section covers the main weak spots. For Cognito, the checks include open sign-up, mutable user attributes, unverified emails and unauthenticated identity pool roles that issue AWS credentials. For OAuth, it covers loose redirect URI checks, missing state validation and response-type switching. One takeover case shows how trusting a mutable email attribute, instead of a stable subject identifier, lets an attacker log in as another user. Public buckets, wildcard IAM policies and role-passing abuse lead to privilege escalation, while API and Lambda examples include leaky older API versions, mass assignment and unsafe code in functions.
The closing advice is to inventory cloud resources, review IAM policies for broad permissions, key identity decisions on immutable identifiers, validate redirect URIs strictly and avoid undocumented APIs. Practitioners should also watch billing and cloud audit logs for signs of misuse.
Related talks
Breaking Ground·22 min
Ariel Kalman
Shows how a permissive Google Cloud IAP setting lets an attacker smuggle secrets out through CORS preflight responses.
Track 1·25 min
David Bravo
Shows how misconfigured AWS Cognito user pools and identity pools can be abused to reach AWS resources.
Talks·52 min
strandjs
Explains how old cloud and supply-chain weaknesses keep resurfacing across Office 365, Entra ID and Azure.


