Research Academy My account Customers About Blog Careers Legal Contact Resellers

Lab: Broken access control in an MCP server tool

This lab's shop exposes a Model Context Protocol (MCP) server at /mcp. Users authenticate to it with the API key shown on their account page. One of the server's tools trusts an argument to decide which account it acts on.

To solve the lab, use the MCP server to change the email address of the user carlos.

You can log in to your own account using the following credentials: wiener:peter

Hint

Send your API key in an Authorization: Bearer header. Read each tool's input schema carefully, including any arguments that a normal client wouldn't need to send.

Required knowledge

To solve this lab, you'll need to know:

  • How to call tools on an MCP server.
  • How access control vulnerabilities arise when a server trusts user-supplied identifiers.

For more information, see our MCP server vulnerabilities Academy topic and our Access control vulnerabilities topic.

Solution

The solution for this lab will be published shortly. Check back soon.