Circle with Disney check_circleservers Code Execution Vulnerability
The device's update script downloads an encrypted archive over unauthenticated HTTP and extracts it into /tmp, allowing an attacker who impersonates the update server to overwrite files. By replacing the decryption binary with a malicious executable, the attacker can achieve code execution on the next scheduled run.
Originally disclosed on Cisco Talos
An exploitable vulnerability exists in the servers update functionality of Circle with Disney running firmware 2.0.1. Specially crafted network packets can cause the device to overwrite sensitive files, resulting in code 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 update script fetches an encrypted archive over unauthenticated HTTP and extracts it into a writable directory without verifying the server's identity or the archive's integrity.
Impact
An attacker who can impersonate the update server could execute arbitrary code on the device.
What the attacker needed
Ability to impersonate download.meetcircle.co; network position to intercept HTTP requests
How it was found
- Create a malicious executable file named aescrypt that runs a chosen script.
- Package that file into a tar archive and encrypt it with the known password.
- Impersonate the update server and serve the encrypted archive in response to the device's HTTP request.
- Wait for the scheduled update script to run, which downloads, decrypts, and extracts the archive, overwriting the original aescrypt.
- On the next run of the script, the malicious aescrypt is executed, running the attacker's code.
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 regularly downloads an update file from a server without checking that the server is genuine. Someone who can pretend to be that server can send a malicious file that replaces a program the device later runs, letting them run their own code 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.