Skip to content
RCE Advisory Intermediate CVE-2017-12094

Circle with Disney Startup WiFi Channel Parsing Command Injection Vulnerability

The WiFi channel parsing in Circle with Disney firmware 2.0.1 uses an unsanitised SSID to build a sed command, allowing an attacker to inject arbitrary sed commands. An attacker within range can broadcast a crafted SSID to freeze the device on startup, requiring manual power-cycling.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 7.4 View original

An exploitable vulnerability exists in the WiFi Channel parsing of Circle with Disney running firmware 2.0.1. A specially crafted SSID can cause the device to execute arbitrary sed commands.

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 SSID from a scanned access point is passed unsanitised into a sed substitution command, allowing command injection.

Impact

An attacker within WiFi range could freeze the device on startup, requiring manual power-cycling to recover.

What the attacker needed

Attacker within WiFi range; device scans for access points

How it was found

  1. Create a hostapd configuration file with a malicious SSID containing newlines and sed commands.
  2. Start hostapd to broadcast the malicious SSID.
  3. The device scans for access points and includes the malicious SSID in its output.
  4. The device extracts the channel string from the scan output and uses it in a sed command, executing the injected commands and freezing.

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 scans nearby WiFi networks and reads their names (SSIDs) to pick the best channel. It then uses that name in a command without cleaning it first. An attacker can name their WiFi network in a special way that makes the device run extra commands, causing it to freeze.

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.