Skip to content
Access control Disclosed report Intermediate

Cloudflare CASB Confused Deputy Problem

Cloudflare CASB allowed an attacker who could guess a valid Microsoft tenant identifier or GitHub installation ID to create a new integration pointing to that same tenant, potentially exposing sensitive information. The issue was a confused deputy problem where the service acted on behalf of the attacker without proper authorisation checks.

Albert Pedersen Follow

Originally disclosed on HackerOne

Bounty$3,300incl. $300 bonus Critical 9.7 View original
  • Triaged in under an hour
  • Fixed in 3 days
  • Paid in 25 hours
  • Disclosed after 50 days

Summary by the program

Cloudflare CASB on a select number of integrations, Microsoft and GitHub, was vulnerable to the confused deputy problem. If an attacker, via a brute force attack or another mechanism, was able to enumerate a valid Microsoft tenant UUID or Microsoft domain, or GitHub installation_id that an existing Cloudflare CASB customer had integrated with, then the attacker would have been able to create a new integration which could surface sensitive information. Cloudflare's CASB engineering team rapidly implemented a fix to disallow the ability to create multiple integrations pointing to the same tenant, thus nullifying the attack as an option. Moreover, an internal investigation did not show impact to any customer data (outside of the reporting researcher's accounts).

The original report as published on HackerOne, by albertspedersen. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the integration creation flow did not verify that the requester owned the tenant or installation being connected, allowing multiple integrations to point to the same tenant.

Impact

An attacker who could enumerate a valid tenant identifier could create an integration that might surface sensitive information from the victim's connected services, though an internal investigation found no impact to customer data outside the researcher's accounts.

What the attacker needed

Attacker can enumerate a valid tenant ID; victim has an existing CASB integration

The fix

The fix disallowed creating multiple integrations pointing to the same tenant, which removed the attack path.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A confused deputy is when a trusted service is tricked into using its authority for someone else's benefit. Here, Cloudflare's security product could be told to connect to a company's Microsoft or GitHub account using only a guessable identifier, without proving the requester owned that account. An attacker who guessed the right identifier could then see data from that company's connected services.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Albert Pedersen

View all

6 more disclosed reports, best first.

More from Cloudflare Public Bug Bounty

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.