Invia #768129: 0xKoda WireMCP <=1.0.0 Command Injectioninformazioni

Titolo0xKoda WireMCP <=1.0.0 Command Injection
DescrizioneA command injection vulnerability exists in WireMCP due to unsafe use of child_process.exec when constructing Tshark CLI commands with user-controlled input. Successful exploitation allows attackers to execute arbitrary shell commands with the privileges of the MCP server process.The following MCP tools construct command strings using user-supplied parameters and execute them via child_process.exec:  capture_packets: interpolates interface and duration  get_summary_stats: interpolates interface and duration  get_conversations: interpolates interface and duration  check_threats: interpolates interface and duration  analyze_pcap: interpolates pcapPath  extract_credentials: interpolates pcapPath Because exec invokes commands through a system shell, specially crafted input containing shell metacharacters (such as `;`, `&`, or `|`) may be interpreted as additional commands rather than treated as data. For example, an attacker could supply a malicious value in interface to inject arbitrary shell commands, which would then be executed with the privileges of the MCP server process. The vulnerability results from shell-based command execution combined with direct interpolation of untrusted input. In MCP environments, LLM-generated tool parameters influenced by external content may trigger execution of injected commands without direct local user interaction.
Fonte⚠️ https://github.com/0xKoda/WireMCP/issues/12
Utente
 Yinci Chen (UID 94659)
Sottomissione26/02/2026 10:31 (7 mesi fa)
Moderazione11/03/2026 13:45 (13 days later)
StatoAccettato
Voce VulDB350389 [0xKoda WireMCP fino a 7f45f8b2b4adeb76be8c6227eefb38533fdd6b1e Tshark CLI Command index.js server.tool escalationi di privilegi]
Punti20

Do you need the next level of professionalism?

Upgrade your account now!