Abode Systems, Inc. iota All-In-One Security Kit XCMD doDebug OS Command Injection vulnerability
The doDebug XCMD handler in the Abode iota security kit takes the value of the poke element and inserts it into a shell command without sanitisation, then runs it as root. An attacker who can send an XCMD can therefore execute arbitrary commands on the device.
Originally disclosed on Cisco Talos
An OS command injection vulnerability exists in the XCMD doDebug 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
Impact
An attacker could execute arbitrary commands as root on the device, potentially taking full control of the security kit.
What the attacker needed
Network access to UDP/55050 or XMPP; or authenticated access to the web interface
How it was found
- Craft an XCMD XML payload with a doDebug command containing a poke element.
- Set the poke value to include shell metacharacters that break out of the intended pidof command.
- Send the payload over UDP/55050, via an authenticated POST to /action/xmlCmd, or over XMPP.
- The device executes the injected command as root.
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.
The device has a feature that lets developers send it commands. One of those commands, called doDebug, takes a piece of text from the message and puts it directly into a system command that runs with the highest privileges. Because the text is not cleaned, an attacker can add extra shell instructions and run their own commands on the device.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.