Skip to content
Info disclosure Write-up Intermediate

Otto Support - Logging and Visibility in MCP Servers

The otto-support MCP server's default logging records only a tool name and status, so an SSRF to an internal metadata service looks identical to a routine fetch. A richer audit log exists but still misses tool arguments and writes temporary passwords to an unmonitored plaintext file, leaving investigators unable to reconstruct what an agent did.

bishopfox.com

Published on bishopfox.com

This series has covered five distinct attack classes against Model Context Protocol (MCP) servers: environment inheritance through local servers, excessive agency and tool privileges, server-side request forgery (SSRF) with token passthrough, confused deputy attacks via prompt injection, and supply chain compromise…

The author, on bishopfox.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 MCP server's logging middleware records only the tool name and status, omitting arguments, destination and response content, and some tools bypass the logging pipeline entirely.

Impact

An attacker could perform SSRF or other tool abuse without detection because the default log cannot distinguish malicious from legitimate calls, and even the audit log misses some tool invocations and leaves passwords in an unmonitored file.

What the attacker needed

Access to the otto-support MCP server; ability to invoke tools such as web_fetch; support role for the debug tool

The fix

MCP servers should implement structured audit logging through request hooks and tool middleware that captures full context for every tool invocation, and ship those logs to a central SIEM.

How it was found

  1. Build and run the otto-support container with the MCP server auto-registered.
  2. Ask Claude to use some of the available tools.
  3. Read the minimal log to see only tool name, session and status.
  4. Read the audit log to see arguments, outbound host, internal flag and response digest.

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.

A logging gap means the server keeps records that are too vague to show what really happened. When an attacker abuses a tool, the record looks the same as normal use, so nobody can tell afterwards. The article shows a better log that captures more detail, but even that misses some actions and writes passwords to a plain file.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.