Skip to content
Access control Write-up Intermediate

How Parameter Tampering Exposed 4,700 Agents and Tons of PII

A chat initialisation request accepted a tampered boolean parameter, which loaded an internal development AI agent instead of the customer bot. That agent leaked a path to an unauthenticated directory listing of about 4,700 agents, and one support agent returned over 2,000 raw customer support chats containing plaintext emails, phone numbers, names and flight details.

medium.com

Published on medium.com

While testing on a target platform, I hit that classic wall where everything seems like i’ve tested before. I had already found a couple of vulnerabilities (which I’ll write up later), but the main application felt completely safe now.

Excessium, on 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 server trusted a client-supplied flag in the chat initialisation request to decide which agent to load, and the agent endpoint and its directory listing had no authentication.

Impact

Attackers could read large volumes of customer support logs and travel PII, and some agents exposed admin JWTs, internal call transcripts and employee shift schedules; the report notes most findings were marked as duplicates.

What the attacker needed

Access to the chat feature; ability to intercept and edit requests; no authentication on the agent endpoint

How it was found

  1. Inspect the background HTTP traffic for the chat window initialisation request.
  2. Change the tester flag in the JSON body from false to true and resend it.
  3. Note that an internal development AI agent loads in the chat window.
  4. Ask the agent questions until it reveals a URL to an endpoint.
  5. Visit the leaked path and find an unauthenticated directory listing of agents.
  6. Talk to a support agent using the exact expected phrases and request a time range to receive a file of customer chats.

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.

When a web page sends data to the server, it sometimes includes hidden settings the user is not meant to change. Here the tester flipped one such setting from false to true, and the server trusted it, giving access to an internal tool. That tool then pointed to a folder anyone could browse, which held many AI chat agents, and one of them handed over real customer conversations.

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.

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.