Skip to main content
Glama
Falcon MCP AI PT

Falcon MCP AI PT

by Abdulmnom

tomcat_exploit

Checks Apache Tomcat exposure, brute-forces manager credentials, reads files via Ghostcat AJP, uploads JSP shells via CVE-2017-12617, and deploys WAR shells for authorized penetration testing.

Instructions

šŸŽÆ Tomcat attack workflow.

action options: "check" → version + manager availability + AJP status "brute" → brute force manager credentials "ghostcat" → CVE-2020-1938 file read via AJP (no auth) "deploy_war" → deploy WAR shell (needs manager creds) "put_jsp" → CVE-2017-12617 PUT JSP upload (no auth)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "tomcat_exploit"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo8080
lhostNo
lportNo4444
actionNocheck
targetYes
ajp_portNo8009
passwordNo
usernameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations supplied, the description carries the full behavioral burden. It does disclose the per-action auth requirement, which is genuinely useful, but says nothing about side effects (a deployed WAR shell or dropped JSP persists on the target), reverse-shell callback expectations for lhost/lport, detection risk, or cleanup.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One framing line plus a compact action list; every line carries information and the action map is front-loaded where an agent will read it. No filler, no restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter, unannotated offensive tool, the definition is thin: only the action parameter is truly explained, and there is no statement of effects, target format, or credential sourcing. The existing output schema relieves it of explaining return values, but that does not offset the parameter and side-effect gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It does well on the highest-value parameter by enumerating action values with meaning, but the other seven — target, port, ajp_port, username, password, lhost, lport — get no explanation, and the reverse-shell pairing of lhost/lport is left for the agent to infer.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a concrete resource (Tomcat) and enumerates five distinct actions, each with a one-line explanation of what it does, so the agent knows the tool's surface without opening the schema. It stops short of a 5 because it never states the boundary against the obvious sibling (jenkins_exploit) or the class of targets it applies to.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Preconditions are attached to individual actions — deploy_war 'needs manager creds', ghostcat and put_jsp are marked 'no auth' — which is exactly the selection logic an agent needs. The 'workflow' framing hints that check comes first, but the ordering and the choice against sibling exploit tools are left implicit rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.