Skip to content
Access control Write-up Beginner

Critical Security Vulnerability: Unauthenticated Access to /shipments/deleted Endpoint Leads to Data Deletion

An endpoint for deleting shipment records could be accessed without any authentication, allowing anyone to permanently delete shipment data. An attacker could automate repeated deletions, causing data loss and disrupting logistics operations.

hackersatty Follow

Published on hackersatty.medium.com

Hi everyone! My name is Satyam Pawale, also known as @hackersatty in the bug bounty world.

hackersatty, on hackersatty.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

Likely the endpoint lacked any authentication or role-based access control check before performing the deletion.

Impact

Any unauthenticated user could permanently delete shipment records, causing data loss and operational disruption; the deletion was irreversible.

What the attacker needed

Knowledge of the endpoint URL; no authentication required

The fix

The endpoint should require authentication and role-based authorisation before allowing deletion, and the issue was resolved according to the timeline.

How it was found

  1. Navigate to the shipments/deleted endpoint in a browser or with a simple request.
  2. Observe that shipment records are deleted without any authentication or confirmation.
  3. Any attacker with the endpoint URL can repeat the deletion.

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 application has a special web address (endpoint) that is meant to delete shipment records. Normally, the server should check who you are and whether you are allowed to delete things. Here, it did not check at all, so anyone who knew the address could delete records just by visiting it or sending a simple request.

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 hackersatty

View all

8 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.