Skip to content
Business logic Disclosed report Beginner

Cloudflare is not properly deleting user's account

When a user requested deletion of their Cloudflare account, the existing session was not terminated. An attacker with access to that session could therefore continue using the account after the deletion request.

csc_ Follow with b14cf1cb300e48b6935a62c, testbug6768 and 2 others

Originally disclosed on HackerOne

  • Triaged in 10 hours
  • Fixed in 14 days
  • Paid in 14 days
  • Disclosed after 6 months

Summary by the program

A vulnerability was discovered in Cloudflare’s User Deletion process which resulted in the current session not being terminated when a request to delete the user had been submitted. Cloudflare’s Engineering Team have fixed the vulnerability and user sessions are now invalidated once a user account deletion request is received.

Summary by the researcher

..............

The original report as published on HackerOne, by csc_. 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 account deletion routine removed or flagged the account but did not invalidate the user's existing session tokens.

Impact

A session that should have ended on account deletion remained usable, so someone holding it could continue to act as the user after the deletion request.

What the attacker needed

A Cloudflare account; an active session for that account

The fix

The issue was fixed: sessions are now invalidated once an account deletion request is received.

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.

When you log in to a website, the site gives your browser a session, which is like a temporary pass that keeps you logged in. If you ask the site to delete your account, you would expect that pass to stop working immediately. Here it kept working, so anyone still holding that pass could keep using the account.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

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.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.