Abode Systems, Inc. iota All-In-One Security Kit web interface /action/wirelessConnect OS command injection vulnerabilities
Four OS command injection vulnerabilities exist in the /action/wirelessConnect endpoint of the iota All-In-One Security Kit web interface. An authenticated attacker can send a crafted HTTP request to execute arbitrary commands as root.
Originally disclosed on Cisco Talos
Four OS command injection vulnerabilities exists in the web interface /action/wirelessConnect 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.
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 web interface fails to sanitise user-supplied parameters (ssid_hex, wpapsk_hex, key, default_key_id) before inserting them into OS commands executed via popen.
Impact
An authenticated attacker could execute arbitrary commands as root on the device, potentially leading to full compromise.
What the attacker needed
Authentication; wireless functionality enabled
The fix
The vendor released a patch on 2022-09-26.
How it was found
- Enable wireless functionality on the device (WL_Enable must be true).
- Send an authenticated HTTP POST request to /action/wirelessConnect with a malicious ssid_hex parameter.
- 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's web interface takes user input (like a Wi-Fi network name) and passes it directly to a system command without cleaning it. This lets someone who is logged in run their own commands on the device, potentially taking full control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.