Lucene search
+L

Jenkins Open API Verification

🗓️ 10 Jul 2026 11:31:42Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 4 Views

Unauthenticated access to Jenkins whoAmI/api and script console.

Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Verify exposed Jenkins API and script console surface."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.scanner.http.response_validation import parse_json_response


class Module(Scanner, Http_client):
    __info__ = {
        "name": "Jenkins Open API Verification",
        "description": "Confirms unauthenticated Jenkins whoAmI/api and script console indicators.",
        "author": ["KittySploit Team"],
        "severity": "high",
        "tags": ["jenkins", "ci", "scanner", "unauth", "verify", "devops"],
        "agent": {
            "risk": "active",
            "effects": ["network_probe"],
            "expected_requests": 3,
            "reversible": True,
            "approval_required": False,
            "produces": ["tech_hints", "risk_signals"],
            "chain": {"produces_capabilities": ["devops_panel", "admin_surface"]},
        },
    }

    def run(self):
        r = self.http_request(method="GET", path="/whoAmI/api/json", allow_redirects=False)
        data, err = parse_json_response(r) if r else (None, "bad_status")
        if not err and data and data.get("authenticated") is False:
            self.set_info(
                severity="high",
                reason="Jenkins whoAmI reports unauthenticated API access",
                confidence="high",
            )
            return True

        for path in ("/script", "/manage/script"):
            r = self.http_request(method="GET", path=path, allow_redirects=False)
            if r and r.status_code == 200 and "groovy" in (r.text or "").lower():
                self.set_info(
                    severity="critical",
                    reason="Jenkins script console reachable without authentication",
                    path=path,
                    confidence="high",
                )
                return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Jul 2026 11:31Current
5.8Medium risk
Vulners AI Score5.8
4