Abode Systems, Inc. iota All-In-One Security Kit XCMD testWifiAP OS command injection vulnerabilities
Four OS command injection vulnerabilities exist in the testWifiAP XCMD handler of the Abode iota security kit. An attacker who can set WiFi configuration values can inject commands that execute with root privileges when the testWifiAP command is triggered.
Originally disclosed on Cisco Talos
Four OS command injection vulnerabilities exist in the XCMD testWifiAP functionality of Abode Systems, Inc. iota All-In-One Security Kit 6.9X and 6.9Z. A 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 device fails to sanitise WiFi configuration values before inserting them into OS commands executed via popen.
Impact
An attacker could execute arbitrary commands with root privileges on the device.
What the attacker needed
Ability to modify WiFi config values; ability to send testWifiAP XCMD
The fix
The vendor released a patch on 2022-09-26.
How it was found
- Set a WiFi configuration value (e.g., SSID, password, or key) to a malicious string via the mobile app, web app, setWifiAP XCMD, or local web endpoints.
- Send a testWifiAP XCMD to the device.
- The device executes the injected command with root privileges.
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 is a command injection bug in a smart home security device. The device takes WiFi settings like the network name and password and uses them to build system commands without cleaning them first. An attacker who can change those settings can sneak in extra commands that run with the highest privileges 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.