Circle with Disney configure.xml Notifications Command Injection Vulnerability
The device's configuration restore feature accepts a backup file containing a configure.xml with a notification id that is passed unsanitised to a system() call. An attacker with a valid token can inject shell commands that execute after the device reboots.
Originally disclosed on Cisco Talos
An exploitable vulnerability exists in the notifications functionality of Circle with Disney running firmware 2.0.1. Specially crafted network packets can cause an OS command injection.
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
Impact
An attacker with a valid token could execute arbitrary commands on the device after a reboot, leading to full compromise.
What the attacker needed
Valid API token; ability to send HTTP requests to the device
How it was found
- Create a backup directory containing configure.xml, photos and backup.version.
- Put a notification element with a malicious id into configure.xml.
- Package the backup directory into a tar.gz and encrypt it with the appid.
- Send the encrypted backup to the /api/CONFIG/restore endpoint with a valid token and appid.
- Wait for the device to reboot, which triggers the command execution.
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 runs a small program that reads a settings file and uses a system command to create a marker file for each notification. Because the notification's id is inserted directly into that command without cleaning, an attacker can add extra shell commands. They need a valid login token to upload a crafted backup, but once it reboots the extra commands run as the device's system user.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.