Skip to content
RCE Advisory Intermediate CVE-2017-2890

Circle with Disney Restore API Command Injection Vulnerability

The restore API handler passes the user-supplied appid parameter directly to a system call without sanitisation, allowing an authenticated attacker to inject OS commands. An attacker with a valid token could execute arbitrary scripts on the device.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.9 View original

An exploitable vulnerability exists in the /api/CONFIG/restore functionality of Circle with Disney running firmware 2.0.1. Specially crafted network packets can cause an OS command injection.

Claudio Bozzato and Lilith Wyatt <(^_^)>, on Cisco Talos

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 parameter is concatenated into a shell command string and passed to system() without sanitisation.

Impact

An authenticated attacker could execute arbitrary OS commands on the device, such as powering it down.

What the attacker needed

Valid authentication token; network access to the device API

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.

This device has a web API that lets logged-in users restore settings. The code takes a value from the user and puts it into a command that the operating system runs, without checking it first. So a user can sneak in extra commands, like telling the device to run a script that powers it down.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Claudio Bozzato

View all

8 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.