Skip to main content
Challenges API BOLA: unauthorized order log
Web Medium Detecting a BOLA (IDOR) attack from an OpenAPI specification and API access log Solves: 3

API BOLA: unauthorized order log

Author: CyberSamSU
Points
55

A data leak is suspected in an e-commerce store's API service. You are given api_incident.zip:

  • openapi.json — the API routes specification (/api/v2/orders/{order_id} and legacy /api/v1/orders/{order_id}).
  • api_access.jsonl — a log of every API request (remote_ip, path, authorization Bearer JWT, status, response_body).

According to openapi.json, a regular customer (role="customer") should only be able to view their own order (order.owner_id == auth.sub); only the support role is authorized to view others' orders. Using a regular customer token, the attacker accessed other customers' orders with 200 OK via a deprecated endpoint (BOLA — Broken Object Level Authorization).

Task: identify the attacker, find the compromised confidential order (status="vip_confidential") among the orders they accessed without authorization, and decode its note_b64 field to obtain the flag. Note: there are decoy comments in 403 responses or in the attacker's own order. Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).

Attached files
api_incident.zip Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −5 pts Log in
Hint 2 −11 pts Log in
Hint 3 −16 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026
3. NullStrike 27.11.2026