Synopsis
Tenable Research has identified and responsibly disclosed a "Denial of Wallet" vulnerability in Looker Studio. This vulnerability allowed an attacker to abuse the Looker Studio Linking API to exhaust a victim's cloud service billing account without their knowledge.
This attack exploited a flaw in the Looker Studio Linking API's handling of billing information. An attacker could craft a malicious URL that, when clicked, would attach a victim's BigQuery billing project ID to an attacker-owned, public report. This report was designed to execute a large number of resource-intensive queries, each of which would run on the victim's billing account.
By creating a report with hundreds or even thousands of charts, each triggering a separate BigQuery job, the attacker could launch a denial-of-wallet attack. When the victim visited the malicious link, the queries would execute in their GCP project, consuming their BigQuery quota and running up significant costs on their bill without their consent or knowledge. The attack could be applied to any cloud data source that bills for resource consumption.
Proof of Concept
Set up a mock data source:
- Create a BigQuery data set and a table. For example, we will name the dataset “attackerdataset” and the table “attackertable” and make them public. Alternatively, you can choose a public BigQuery dataset and table for this step
Set up the attacker’s report:
- Create a report.
- Choose the Big Query connector.
- Choose the specific data source created in the first step: , “attacker’s-project.attackerdataset.attackertable”
- Add a chart to the report, preferably a table, by pressing “Add a chart” and choosing a Table. Create hundreds of them, each table is a job that exhausts the billing of the victim when run.
- Share the report with the victim, and uncheck the “Notify” checkbox
- Craft the Linking API link and input the report ID of the report you just created, and the project ID of the victim: https://lookerstudio.google.com/reporting/create?c.reportId=<repordID-of-the-attacker-with-bigquery-queries>&ds.*.billingProjectId=victimsproject
- Visit the attacker’s website as the victim, and the victim’s billing will be exhausted by hundreds of BigQuery jobs
Disclosure Timeline
All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.
Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.
For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.
If you have questions or corrections about this advisory, please email [email protected]