Skip to main content
Glama
Falcon MCP AI PT

Falcon MCP AI PT

by Abdulmnom

jenkins_exploit

Detects Jenkins version and anonymous access, reads files via CVE-2024-23897, tests credentials, and executes Groovy RCE or reverse shell for authorized penetration testing.

Instructions

šŸŽÆ Jenkins attack workflow.

action options: "check" → detect version + anonymous access "cve_read" → CVE-2024-23897 file read (no auth needed, Jenkins < 2.442) "login" → test credentials "rce" → Groovy Script Console RCE (needs valid creds) "shell" → full reverse shell via Groovy (needs lhost + lport)

CVE-2024-23897 works on Jenkins 2.303.1 without any credentials!

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": "jenkins_exploit"
  }
}

Input Schema

NameRequiredDescriptionDefault
portNo8000
lhostNo
lportNo4444
actionNocheck
targetYes
passwordNo
usernameNoadmin

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 at all, the description carries the full burden and does disclose auth requirements per action and a version constraint for CVE-2024-23897. However, for an intrusive tool that spawns reverse shells and executes Groovy, it says nothing about impact, permission/authorization requirements, or failure behavior, which is a notable gap.

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

Conciseness4/5

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

The workflow label is front-loaded and the action list is scannable and tight. The closing line about CVE-2024-23897 working without credentials largely repeats the 'no auth needed' already stated on the cve_read line, so there is minor redundancy.

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

Completeness3/5

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

An output schema exists, so return values need not be described. Still, for a 7-parameter, annotation-free exploitation tool, the definition leaves target, port, and credential parameters undocumented and omits any risk or authorization context, which is only adequate rather than complete.

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% across 7 parameters, so the description must compensate. It usefully supplies the action values and ties lhost/lport to the shell action, but target, port, username and password are never explained, and the unusual port default of 8000 goes unaddressed.

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 specific resource (Jenkins) and enumerates five concrete actions (check, cve_read, login, rce, shell), so an agent knows exactly what the tool does. It stops short of a crisp single-sentence statement of purpose, relying on the action list to convey scope, and never contrasts itself with siblings like tomcat_exploit.

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?

Each action carries an explicit precondition: cve_read needs no auth and requires Jenkins < 2.442, rce needs valid credentials, shell needs lhost + lport. That is genuinely actionable when-to-use guidance. It lacks ordering advice for the 'workflow' and does not say when a different tool should be preferred.

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