Missing authentication in API Endpoints lead to update orders and
Several CMS API endpoints on a public subdomain lacked authentication, so anyone could update orders, delete single records and delete records in bulk. An unauthenticated attacker could modify or permanently destroy CMS data.
and run it again, after collect the wildcard subdomains form [https://crt.sh/ ]
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 CMS API routes were deployed without authentication middleware or per-user permission checks, leaving internal endpoints reachable from the internet.
Impact
An unauthenticated attacker could modify CMS records and delete individual or multiple records, risking permanent data loss and disruption of business workflows.
What the attacker needed
No account needed; knowledge of API paths from JS files; valid record or order IDs
How it was found
- Enumerate subdomains and probe them with httpx to find live hosts.
- Open the interesting CMS subdomain and search its JavaScript files for API paths and HTTP methods.
- Send a POST request to the bulk delete endpoint, refining the JSON body from error messages until it succeeds.
- Send a PUT request to the update-order endpoint with an order ID.
- Send a DELETE request to the single-delete endpoint with an ID, then repeat it to confirm the record was really removed.
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 website's API is the set of behind-the-scenes addresses its pages use to fetch and change data. Here those addresses accepted requests from anyone, with no login check, so a stranger could change or delete records just by sending a request. The author found them by reading the site's JavaScript files, which listed the API paths.
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.