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.
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.
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
- Log in to the dashboard and click the delete icon on a document.
- Intercept the resulting DELETE request, which carries no authorization header or session token.
- Log out completely so no session remains.
- Replay the captured DELETE request unauthenticated in a repeater tool.
- Observe a 200 OK response and confirm the document is permanently deleted.
- 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.