Otto Support - Excessive Agency and Tool Privileges
The otto-support MCP server registered tools globally rather than per-session and role-aware, so an unauthenticated user could invoke a tool that granted authenticated access and then reach additional privileged tools. An attacker could combine these excessive tool privileges to perform actions beyond what the task intended, such as minting tokens or changing account ownership.
bishopfox.com
Published on bishopfox.com
Our blog series opener introduced otto-support, the vulnerable Model Context Protocol (MCP) server we built as a CTF and laid out why local agents influence attack surface. This blog post focuses on what happens when we give modern AI agents too much power.
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 MCP server registered all tools globally by default instead of using per-session, role-aware tool registration and handler-level role checks.
Impact
An attacker could combine excessive tool privileges to perform sensitive actions such as minting tokens or changing account ownership, with the blast radius larger than intended.
What the attacker needed
Access to the otto-support MCP server; ability to invoke the unauthenticated tool
The fix
Tool registration should be per-session and role-aware, privileged tool handlers should enforce role checks and require human confirmation separate from the agent's context, and production-level permissions should require peer review.
How it was found
- Start as an unauthenticated user with only the limited tools available.
- Invoke the available tool properly so that it grants authenticated access.
- Use the newly available additional tools, which are filtered per call based on the session's current role.
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.
An AI agent is a program that can call tools (small functions) to do things like read email or run commands. Excessive agency means the agent was given more tools and permissions than its job needed, so a mistake or a trick can cause much more damage than intended. Here, the server made every tool available to every session instead of only the tools that session's role should see.
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.