~ / cases / agentic-authorization-tenant-isolation / conversation-summary-idor

▲ High5 min read

Conversation Summary IDOR Through an AI Assistant

A conversation-summary request trusted a client-controlled identifier, allowing the assistant to return the summary of another chat when the identifier was changed.

#idor#bola#conversation-access#ai-agent

The application offered a convenient AI action: summarize the current conversation. The feature looked like a normal assistant capability, but the request included a conversation identifier that was accepted from the client without an effective ownership check.

> Normal conversation flow

I started a casual conversation with the agent and asked for a summary of the current chat. The assistant returned the expected result. This established the normal request and gave me a baseline for reviewing how the conversation context was represented.

> Inspecting the request

Using Burp Suite to inspect the application's own request, I found a conversation identifier sent alongside the summary question. The identifier was an object reference, not proof that the authenticated user owned that conversation.

◈ jsonpayload.txt
{
  "question": "Give me a summary about this chat",
  "conversation_id": "REDACTED-CONVERSATION-ID",
  "session_id": "REDACTED-SESSION-ID"
}

> Changing the object reference

I changed only the conversation_id to another identifier observed during authorized testing and repeated the same summary request. The assistant returned a summary for that other conversation instead of rejecting the request as unauthorized.

> Classification and impact

This is a classic IDOR/BOLA and conversation-level access-control failure. The AI was the interface used to request the summary, but the vulnerability was in the backend authorization check. Depending on conversation content, the issue could expose private prompts, uploaded documents, personal data, tool results or internal operational context.

> Remediation: Web and platform

  • [+]Derive the conversation owner and tenant from the authenticated session, never from the request body alone.
  • [+]Authorize every read at the object level before generating a summary; an unguessable UUID is not an authorization control.
  • [+]Return a consistent not-found response for conversations the user cannot access and log denied access attempts.

> Remediation: AI and agent tools

  • [+]Pass only server-authorized conversation content to the summarization tool; the model must not decide ownership.
  • [+]Add an input guardrail that rejects mismatched conversation, user and tenant context before the agent runs.
  • [+]Apply output DLP to summaries and never expose hidden prompts, tool traces or cross-tenant content.
[!WARN] — Sanitized authorized-testing case. Conversation identifiers and summaries are redacted; no real chat content is included.