wiz-sec / open-cvdb

An open project to list all publicly known cloud vulnerabilities and CSP security issues
https://cloudvulndb.org
Creative Commons Attribution 4.0 International
306 stars 61 forks source link

[Contribution] SSRF via URL whitelist bypass in an internal GCP project #222

Open korniko98 opened 1 year ago

korniko98 commented 1 year ago

Summary (give a brief description of the issue)

Access Token for internal GCP project “cxl-services” can be leaked using a URL whitelist bypass on https://cxl-services.appspot.com/proxy. This token could be used to elevate privileges in other internal projects, access some internal Compute instances and possibly take full control over cxl-services.appspot.com. This App Engine app proxies demo API requests on Google Cloud product pages (e.g. Cloud Text-to-Speech Demo).

References (provide links to blogposts, etc.)

https://feed.bugs.xdavidhu.me/bugs/0008 https://bugs.xdavidhu.me/google/2020/03/08/the-unexpected-google-wide-domain-check-bypass/