Kali-GPTのMCPスキャナーツールに脆弱性、OSコマンドを実行される恐れ
Summary
Kali-GPTのMCPサーバーには、スキャナーツールのパラメーターが適切に無害化されていないため、OSコマンドを実行される脆弱性があります。影響を受けるのはコミットa608c74までのバージョンで、MCPサーバーの実行ユーザーの権限でコマンドが動きます。悪意のある指示を埋め込まれたAIエージェントでも悪用されるおそれがあるため、利用している場合は早めに確認してください。修正版の有無は公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Kali-GPTのMCPサーバーには、スキャナーツールのパラメーターが適切に無害化されていないため、OSコマンドを実行される脆弱性があります。影響を受けるのはコミットa608c74までのバージョンで、MCPサーバーの実行ユーザーの権限でコマンドが動きます。悪意のある指示を埋め込まれたAIエージェントでも悪用されるおそれがあるため、利用している場合は早めに確認してください。修正版の有無は公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| alishahid74kali-gpt |
≤ a608c74e99910232dd208fee99de860458672b82→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Kali-GPT through commit a608c74 contains an OS command injection vulnerability in execute_tool() in kali_gpt/tools/mcp_server.py that allows MCP clients to run commands via unsanitized scanner parameters. Attackers or prompt-injected agents can embed shell metacharacters in parameters like target, ports, domain, wordlist, or url, executed via subprocess.run with shell=True as the MCP server user.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory nvd.nist.gov
- advisory github.com
- web github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web github.com