Tapo MCPサーバーに脆弱性、DNSリバインディングで智能家電を操作される恐れ
Summary
Tapoのバージョン0.3.1から0.5.0より前のMCPサーバーに脆弱性が見つかりました。APIキー(TAPO_MCP_API_KEY)を設定していない環境では、悪意あるWebサイトを開いた利用者のブラウザ経由で、家庭内や社内LANのTapo機器が操作される可能性があります。修正版の0.5.0で対応できます。APIキーを設定している環境は、この経路では影響を受けません。
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.
Tapoのバージョン0.3.1から0.5.0より前のMCPサーバーに脆弱性が見つかりました。APIキー(TAPO_MCP_API_KEY)を設定していない環境では、悪意あるWebサイトを開いた利用者のブラウザ経由で、家庭内や社内LANのTapo機器が操作される可能性があります。修正版の0.5.0で対応できます。APIキーを設定している環境は、この経路では影響を受けません。
Original description The description as published by the source.
Tapo provides Rust and Python APIs and an MCP server for TP-Link Tapo smart devices. From 0.3.1 until 0.5.0, the Streamable HTTP implementation in tapo-mcp/src/server.rs calls disable_allowed_hosts() without replacement Host or Origin validation, while TAPO_MCP_API_KEY remains optional for a listener that can bind to all interfaces. A malicious website can use DNS rebinding to send same-origin browser requests to the victim's local or LAN Tapo MCP listener when it runs without an API key. The attacker can invoke exposed tools including control_device for smart-device actuation and take_snapshot for configured cameras. Deployments with TAPO_MCP_API_KEY set are not affected by the unauthenticated path, and exploitation requires a running listener configured with real Tapo credentials and devices, plus victim interaction with the malicious site. This issue is fixed in version 0.5.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web github.com