Abode Systems, Inc. iota All-In-One Security Kit web interface /action/ipcamRecordPost OS command injection vulnerability
The device's local web interface builds a shell command to delete snapshot files using a filename taken from the request body without sanitising it. An authenticated attacker could inject shell metacharacters into that filename to run arbitrary commands as root on the device.
Originally disclosed on Cisco Talos
An OS command injection vulnerability exists in the web interface /action/ipcamRecordPost 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 handler URL-decodes a user-supplied filename and inserts it directly into a shell command passed to popen without escaping or validation.
What the attacker needed
Web server enabled (off by default); valid login credentials
The fix
The vendor released a patch; the filename should be validated or escaped before being placed into a shell command.
How it was found
- Enable the device's local web server, which is off by default
- Log in to the web interface with valid credentials
- Send a POST request to the recording endpoint whose body starts with a count and includes a crafted filename
- The device runs 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 small web page for deleting camera recordings takes a file name from the user and pastes it straight into a system command that deletes files. Because special characters in that name are not cleaned, someone who is logged in can add extra commands that the device then runs with full administrator rights.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.