Batch operations

APIs that process many object ids in one request but apply authorization checks inconsistently across the batch.

ဖတ်ချိန် ၁ မိနစ်၂၀၂၆ အောက် ၂ တွင် ပြင်ဆင်ခဲ့သည်florianametteပါဝင်ကူညီသူ ၁ ဦး
သင့်လက်ထောက်တွင် မေးရန် (MCP)GitHub တွင် ပြင်ရန်

Context#

Bulk POST or DELETE with an array of ids is efficient for clients. The server may authenticate the caller, validate the first id, and loop the rest with a weaker or missing check. One call can cross tenant or user boundaries.

Theory#

Offensive signals include mixed outcomes: some ids in the list succeed and some fail, a single error for the whole batch when per-item denial would be expected, or a 200 with a partial result object that hides which rows were touched.

Practice#

Mix authorized and other-user ids in one body#

  • In a lab, build a body with two ids: one owned by the session and one from another test user. Send it to a bulk read or update endpoint and observe per-item error behavior versus full success on all items.

Tools#

  • curl
  • Burp Suite