Circle with Disney Backup API Command Injection Vulnerability
The backup API handler passes the user-supplied appid parameter directly into a system command without sanitisation, allowing an authenticated attacker to inject arbitrary OS commands. Because of a separate weak authentication flaw, even unauthenticated attackers could reach this API.
Originally disclosed on Cisco Talos
An exploitable vulnerability exists in the /api/CONFIG/backup functionality of Circle with Disney. 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
Root cause
The appid GET parameter is concatenated into a command string passed to system() without any sanitisation or escaping.
Impact
An attacker could execute arbitrary OS commands on the device, with high confidentiality, integrity and availability impact, and the API was reachable by anyone due to a separate weak authentication flaw.
What the attacker needed
Network access to the device; a token parameter (weak auth bypass possible)
How it was found
- Send an HTTP request to the /api/CONFIG/backup endpoint with a token, api version and an appid parameter.
- Include shell metacharacters and a command in the appid value, using tabs instead of spaces to separate commands and parameters.
- The device executes the injected command.
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 builds a shell command by gluing together a fixed script name and a value taken from the web request. Because it never checks that value, an attacker can add extra shell commands after it. The device then runs everything as if the attacker had typed it on a terminal.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.