Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
cve-2026-130007-k8smcp-sse-noauth — Differential lab reproducing CVE-2026-130007: unauthenticated MCP tools/call over k8s-mcp-server's SSE transport, with pinned vulnerable and patched builds as controls. | Kitploit
工具/GitHubGitHub/abraxas/cve-2026-130007-k8smcp-sse-noauth
Container SecurityVulnerability AnalysisExploitationPenetration TestingCloud SecurityAuthenticationLabs & Practice
GitHubabraxas/cve-2026-130007-k8smcp-sse-noauth

cve-2026-130007-k8smcp-sse-noauth

Differential lab reproducing CVE-2026-130007: unauthenticated MCP tools/call over k8s-mcp-server's SSE transport, with pinned vulnerable and patched builds as controls.

查看仓库
15小时38分前尚未审核
分享
内容在请求的语言中不可用。显示英文版本。

Abraxas Labs - CVE-2026-130007

CVE-2026-130007 - k8s-mcp-server missing authentication on SSE transport

Differential lab for GHSA-m932-63jc-4jqq / CVE-2026-130007: k8s-mcp-server <= 1.0.25 runs its default SSE transport on 0.0.0.0:8080 with no authentication, no session-token validation and no Origin check. GET /sse mints a correlation sessionId for anyone; POST /message?sessionId=... dispatches MCP tools/call requests with the server's Kubernetes cluster privileges. Read-only mode is off by default, so the registered tool set includes deleteResource, helmUninstall, rolloutRestart and friends. CWE-306. CVSS 4.0 7.9 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H. Patched in 1.1.0.

Recorded result

RESULT vuln-build             pass  k8s-mcp-server v1.0.25 commit=64421d06eb05
RESULT fixed-build            pass  k8s-mcp-server v1.1.0 commit=3e4f918103ed
RESULT vuln-bind              pass  LISTEN *:18099 - all interfaces, no auth option exists
RESULT vuln/sse-noauth        pass  GET /sse 200, sessionId minted with zero auth headers
RESULT vuln/initialize        pass  POST /message HTTP 202
RESULT vuln/tools-list        pass  POST /message HTTP 202
RESULT vuln/origin-ignored    pass  POST with Origin: https://evil.example HTTP 202
RESULT vuln/write-tools       pass  22 tools enumerated, write tools: createResource, createResourceYAML, deleteResource, helmInstall, helmRollback, helmUninstall, helmUpgrade, rolloutRestart
RESULT vuln/tools-call        pass  handler executed: in-handler cluster error 'dial tcp 127.0.0.1:1 connection refused' - RPC passed every gate
RESULT fixed-failclosed       pass  refuses to start: 'MCP_AUTH_TOKEN must contain at least 32 characters for HTTP transports'
RESULT fixed-401              pass  GET /sse HTTP 401 (unauthorized), POST /message HTTP 401
SUCCESS CVE-2026-130007 k8s-mcp-server missing-auth-on-sse unauthenticated tools/call dispatched to the Kubernetes tool handler on the vulnerable build; the patched build fails closed without a token and answers 401 without one

Recorded on macOS arm64, Go 1.27.4, Python 3.14. No Docker, no cluster.

The discriminator, and why it is honest

tools/call getAPIResources against a dummy non-routable cluster (KUBERNETES_SERVER=https://127.0.0.1:1) returns HTTP 202 and then, over the SSE stream, the JSON-RPC error failed to retrieve API resources: Get "https://127.0.0.1:1/api"...: dial tcp 127.0.0.1:1: connect: connection refused.

That error text is the proof. An authentication gate answers 401/403 at the HTTP layer before the handler runs. A dispatched RPC reaches the tool handler, which then fails on its own cluster connection - which is exactly what the lab observes. The RPC passed every gate the server has. With a live kubeconfig, the same request returns real cluster data; the lab never connects to one.

What the lab does

  • Builds both binaries from the pinned upstream tags (v1.0.25, v1.1.0), verifying each tag's commit before compiling. Binary identity is re-checked at runtime via go version -m.
  • Starts the vulnerable server with a dummy cluster target, confirms it binds all interfaces (LISTEN *:PORT), then drives a complete MCP session over the wire with zero credentials and a hostile Origin header: initialize, notifications/initialized, tools/list, tools/call.
  • Asserts the enumerated tool list contains the destructive write tools.
  • Runs the two patched-build controls: 1.1.0 without MCP_AUTH_TOKEN refuses to start in HTTP mode at all (fail closed), and 1.1.0 with a token answers 401 Unauthorized (WWW-Authenticate: Bearer) to unauthenticated requests.

Run

python3 cve-2026-130007-k8smcp-sse-noauth-Abraxas-Labs.py

or directly:

cd lab && ./run.sh

Requires Go (brew install go), git, curl, lsof. The first run clones the upstream repository and compiles both versions (about a minute). The cluster target is always the non-routable https://127.0.0.1:1; nothing is sent to any cluster.

Remediation

Upgrade to 1.1.0, which requires MCP_AUTH_TOKEN (32+ characters) for HTTP transports, validates Origin, binds to 127.0.0.1 by default and defaults to stdio. If you cannot upgrade: firewall the port, run stdio mode, or put an authenticating proxy in front. Turn on read-only mode if you do not need write operations.

References

  • GHSA-m932-63jc-4jqq
  • NVD entry
  • v1.1.0 release notes
  • CWE-306
下载工具

最受欢迎

查看全部 →

发现我们社区最常用的工具。

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    920
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    915
  • 3

    wifit3

    derv82/wifit3

    Wifite 但仅限 USB 且跨平台。

    688
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer是一个开源的特权访问管理(PAM)平台,为DevOps和IT团队提供通过Web浏览器按需安全访问SSH、RDP、Kubernetes、数据库和RemoteApp端点的能力。

    460
  • 5

    SafeLine

    chaitin/safeline

    自托管WAF和反向代理,可过滤恶意HTTP流量、阻止SQL注入、XSS和机器人攻击,具备速率限制和动态HTML/JS加密功能。

    409
  • 6

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    388

探索所有工具

浏览我们的工具集合

查看所有工具 →