Permanent CASB Integration Takeover due to Improper Access Controls+Confused Deputy Problem
Cloudflare CASB did not properly validate ownership when reconnecting previously deleted integrations, allowing an attacker who knew a valid tenant UUID or installation ID to add that integration to their own account. This could let the attacker access sensitive CASB findings for those integrations.
Originally disclosed on HackerOne
- Disclosed after 53 days
Summary by the program
Cloudflare's Cloud Access Security Broker (CASB) had a security vulnerability on a limited set of integrations, known as the "confused deputy problem." If an attacker managed to discover a valid Microsoft tenant UUID or Microsoft domain, GitHub or BOX's installation_id that a previous Cloudflare CASB customer had once connected but later removed, they could potentially exploit this to add a new integration to their account. This could have allowed the attacker to access sensitive information from CASB's findings for those integrations. However, Cloudflare's CASB engineering team acted swiftly to address this issue and eliminate the potential for such an attack. Additionally, an internal investigation found no evidence of customer data being impacted, except for the accounts used by the researcher who reported the vulnerability.
Summary by the researcher
Cloudflare CASB lacked backend-validations which allowed an attacker to takeover deleted Github, Microsoft & BOX integrations, which might contains organization specific sensitive data, by just enumerating the applications enterprise ids or tenant_ids.
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 missing backend authorisation checks that verify the requesting user owns the integration before allowing it to be reconnected.
Impact
An attacker could potentially access sensitive CASB findings for integrations that a previous customer had removed, though Cloudflare found no evidence of customer data being impacted beyond the researcher's own accounts.
What the attacker needed
Knowledge of a valid tenant UUID or installation ID; a Cloudflare CASB account
The fix
Cloudflare's CASB engineering team addressed the issue, eliminating the potential for such an attack.
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.
Cloudflare CASB is a service that connects to other cloud apps (like Microsoft 365 or GitHub) to scan for security issues. When a customer removed such a connection, the system still remembered its identifier but did not check who was re-adding it. An attacker who guessed or found that identifier could attach the old connection to their own account and see the scan results.
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.