Skip to content
RCE Advisory Intermediate CVE-2022-32773

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.

Matt Wiseman Follow

Originally disclosed on Cisco Talos

Critical 10.0 View original

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.

Matt Wiseman, on Cisco Talos

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

  1. Craft an XCMD XML payload with a doDebug command containing a poke element.
  2. Set the poke value to include shell metacharacters that break out of the intended pidof command.
  3. Send the payload over UDP/55050, via an authenticated POST to /action/xmlCmd, or over XMPP.
  4. 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.

More by Matt Wiseman

View all

73 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.