Skip to content
Access control Write-up Beginner

When Deleting One File Deletes Everything: An Unauthenticated BOLA in an AI Analytics Portal

A DELETE endpoint for documents in an AI analytics portal accepted requests without any authentication or ownership check, so an unauthenticated attacker could permanently delete any document by guessing its numeric ID. Because the documents fed the AI's decision layer, wiping them amounted to silent operational sabotage.

Xp10it Follow

Published on medium.com

During an authorized security assessment, I identified a Broken Object Level Authorization (BOLA) vulnerability in an AI-powered analytics portal that allowed complete destruction of an administrative document repository — without a single valid credential.

Xp10it, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

The destructive DELETE endpoint performed no authentication, authorization or ownership check, trusting only the request shape and a predictable object identifier.

Impact

Any external actor could wipe the entire document corpus without credentials, and because those documents informed the AI's outputs and workflows, the deletion amounted to silent operational sabotage.

What the attacker needed

Network access to the portal; no account needed; knowledge of a document ID

The fix

The endpoint should require authentication and enforce authorization and ownership checks before any destructive action, and should not rely on predictable identifiers alone.

How it was found

  1. Log in to the dashboard and click the delete icon on a document.
  2. Intercept the resulting DELETE request, which carries no authorization header or session token.
  3. Log out completely so no session remains.
  4. Replay the captured DELETE request unauthenticated in a repeater tool.
  5. Observe a 200 OK response and confirm the document is permanently deleted.
  6. Log back in to verify the document is gone, then increment the numeric ID to target other documents.

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 write-up has not been written yet. The Original tab links to the source.

A web app should check who is making a request before doing something important, like deleting a file. Here the server skipped that check entirely: anyone who sent the right kind of request with a document number could delete that document, even without logging in. The numbers were simple and predictable, so every document could be removed one by one.

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 Xp10it

View all

5 more disclosed reports, best first.

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.