(0Day) mcp-server-siri-shortcuts shortcutName Command Injection Privilege Escalation Vulnerability
The shortcutName parameter in mcp-server-siri-shortcuts is passed to a system call without proper validation of the user-supplied string. A local attacker who can already run low-privileged code could use this to escalate privileges and run arbitrary code as the service account.
Originally disclosed on Zero Day Initiative
This vulnerability allows local attackers to escalate privileges on affected installations of mcp-server-siri-shortcuts. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the shortcutName value is concatenated into a shell command without sanitisation or argument separation, so shell metacharacters in the name are interpreted as commands.
Impact
A local attacker with low-privileged code execution could escalate to the service account and run arbitrary code; the only suggested mitigation is to restrict interaction with the product.
What the attacker needed
Local low-privileged code execution
The fix
The parameter should be validated and passed to the system call without shell interpretation, for example as a separate argument rather than a concatenated command string; the text does not say it was fixed.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
This tool takes a shortcut name from the user and hands it to the operating system to run as a command. Because it does not check what is in that name, someone who can already run a little code on the machine could sneak extra commands in and have them run with higher permissions. That turns a small foothold into full control of the service account.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.