Skip to content
RCE Advisory Intermediate CVE-2022-29472

Abode Systems, Inc. iota All-In-One Security Kit web interface util_set_serial_mac OS command injection vulnerability

The web interface endpoint for setting the device serial number and MAC address passes user-supplied values into a shell command without sanitisation. An attacker can inject shell metacharacters to execute arbitrary commands as root.

Matt Wiseman Follow

Originally disclosed on Cisco Talos

Critical 10.0 View original

An OS command injection vulnerability exists in the web interface utilsetserialmac functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. A specially-crafted HTTP request 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 serial number and MAC address from the HTTP request are inserted into a command string passed to popen without sanitisation, allowing shell metacharacter injection.

Impact

An attacker can execute arbitrary commands as root on the device, potentially leading to full compromise.

What the attacker needed

Network access to the device; web interface enabled (may require other exploits)

The fix

The vendor released a patch on 2022-09-26.

How it was found

  1. Send an HTTP POST request to the /action/factorySerialMacPost endpoint.
  2. Include a serial parameter containing shell metacharacters and a command.
  3. 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 web page that lets you change its serial number and MAC address. The code that handles this takes your input and builds a command to run on the device without checking for special characters. By including characters like a semicolon, an attacker can make the device run their own commands with the highest privileges.

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.