Description
win-cli-mcp-server resolveCommandPath Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of win-cli-mcp-server. Authentication is not required to exploit this vulnerability. The specific flaw exists within the implementation of the resolveCommandPath method. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-27787.
Problem types
CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
215f0cc4ed0c21ce028246c19ebfa32f5b3f7848
References
www.zerodayinitiative.com/advisories/ZDI-25-930/ (ZDI-25-930)
github.com/...ommit/521b4a34190d03bde7d433d213c36357181a6d09 (vendor-provided URL)