PT-2025-26970 · Apple · Ios Simulator Mcp Server
Lirantal
·
Published
2025-06-26
·
Updated
2025-06-26
·
CVE-2025-52573
CVSS v3.1
6.0
Medium
| Vector | AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
iOS Simulator MCP Server versions prior to 1.3.3
Description:
The issue concerns a command injection vulnerability in the MCP Server tool definition and implementation. The MCP Server exposes the tool
ui tap, which relies on the Node.js child process API exec. This API is vulnerable if concatenated with untrusted user input. User input for duration, udid, and x and y args can be replaced with shell meta-characters to change the behavior from running the expected command to another command. When tricked through prompt injection, the full command-line text will be intercepted by the shell, resulting in other commands executing on the host running the MCP Server.Recommendations:
For versions prior to 1.3.3, update to version 1.3.3, which contains a patch for the issue. As a temporary workaround, consider restricting access to the
ui tap tool and limiting user input to prevent the use of special shell characters. Avoid using the parameters duration, udid, x, and y in the affected API endpoint until the issue is resolved.Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Ios Simulator Mcp Server