Skip to content
RCE Advisory Intermediate CVE-2022-33189

Abode Systems, Inc. iota All-In-One Security Kit XCMD setAlexa OS command injection vulnerability

The setAlexa XCMD handler stores an attacker-supplied registration code and later injects it into a shell command without sanitisation. An unauthenticated attacker can send a crafted XML message to execute arbitrary OS 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 setAlexa functionality of Abode Systems, Inc. iota All-In-One Security Kit 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

Root cause

The Alexa registration code from an XCMD is stored and later inserted into a shell command string without sanitisation, allowing command injection.

Impact

An unauthenticated attacker can execute arbitrary OS commands on the device, leading to full compromise.

What the attacker needed

Network access to the device; no authentication required

How it was found

  1. Send an XCMD with the setAlexa command and a regCode value containing shell metacharacters.
  2. The handler stores the regCode as Alexa_RegCode and signals the DNS thread.
  3. The DNS thread builds a dns-sd command using the stored value and executes it.

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 security camera hub accepts commands over the network. One command, used to set up Alexa, takes a text value and later pastes it directly into a system command. Because the value is not cleaned, an attacker can include extra shell instructions that the device will run.

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.