PowerShell MCPで認証情報が露出する脆弱性、0.5.3で修正
Summary
PowerShell MCPのwinrm_execツールでは、明示的な認証情報を使うと、WinRMのユーザー名と平文のパスワードがPowerShellの子プロセスのコマンドライン引数に載ります。そのため、プロセスのコマンドラインを見られる端末のローカルユーザーや、保存された監視用のテレメトリから認証情報を取り出されるおそれがあります。修正版の0.5.3で対応しているので、0.5.3へ更新してください。ssh_execは影響を受けません。
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.
PowerShell MCPのwinrm_execツールでは、明示的な認証情報を使うと、WinRMのユーザー名と平文のパスワードがPowerShellの子プロセスのコマンドライン引数に載ります。そのため、プロセスのコマンドラインを見られる端末のローカルユーザーや、保存された監視用のテレメトリから認証情報を取り出されるおそれがあります。修正版の0.5.3で対応しているので、0.5.3へ更新してください。ssh_execは影響を受けません。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| IMRRDpowershell-mcp | — | Not listed |
| npm@imrrd/powershell-mcp |
< 0.5.3→ 0.5.3 |
0.5.3 |
| npmpowershell-mcp |
All versions→ Not listed |
Not listed |
Original description The description as published by the source.
PowerShell MCP is a Model Context Protocol server for headless Windows operations. Prior to 0.5.3, the winrm_exec tool places a script containing the caller-supplied WinRM username and plaintext password in the PowerShell child process's -Command argument when explicit credentials are used. Local users or monitoring systems with access to process command lines or retained telemetry can recover the credentials. ssh_exec is not affected because it uses SSH in process. This issue is fixed in 0.5.3.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- web github.com
- web github.com