Abode Systems, Inc. iota All-In-One Security Kit XCMD setUPnP OS command injection vulnerability
The setUPnP XCMD handler in the iota security kit builds an OS command from the user-supplied webextport value without sanitisation, allowing an attacker to execute arbitrary commands. An unauthenticated attacker can send a crafted XML payload to trigger this.
Originally disclosed on Cisco Talos
An OS command injection vulnerability exists in the XCMD setUPnP functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. A specially-crafted XCMD can lead to arbitrary command execution.
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
The webextport value is inserted into a shell command without sanitisation, and the check for a leading colon only gates the UPnP logic, not the command construction.
Impact
An unauthenticated attacker could execute arbitrary OS commands on the device, leading to full compromise.
What the attacker needed
Network access to UDP port 55050; no authentication required
The fix
The vendor released a patch on 2022-09-26.
How it was found
- Craft an XCMD XML payload with a setUPnP command and a webextport value starting with a colon followed by shell metacharacters.
- Send the payload to the device's XCMD service on UDP port 55050.
- The handler builds and executes an OS command containing the injected value.
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 device accepts commands over the network. One command, setUPnP, takes a value and puts it directly into a system command without checking it. An attacker can include extra shell instructions in that value, so the device runs their commands.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.