Skip to content
RCE Advisory Advanced CVE-2017-2915

Circle with Disney WiFi Restart SSID Parsing Command Injection Vulnerability

The device's WiFi restart script passes the SSID-derived encryption string to a shell command without sanitisation. An attacker who can broadcast a crafted SSID and trigger a WiFi restart can execute arbitrary shell commands on the device.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.0 View original

An exploitable vulnerability exists in the WiFi configuration functionality of Circle with Disney running firmware 2.0.1. A specially crafted SSID can cause the device to execute arbitrary shell 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 the access point scan is not sanitised before being passed to a shell command via system().

Impact

An attacker could execute arbitrary shell commands on the device, leading to full compromise.

What the attacker needed

Valid API token; ability to answer DNS requests from device; ability to set up a reachable access point; ability to unplug/replug ethernet cable

How it was found

  1. Configure the device's SSID to be empty via the API.
  2. Set up a rogue access point broadcasting an SSID containing newline characters and shell metacharacters.
  3. Force the device to scan for access points via the API.
  4. Set up network redirection and a listener to serve a command.
  5. Unplug and replug the ethernet cable to trigger the WiFi restart, causing the command to execute.

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 reads the name of a WiFi network (the SSID) and uses it to build a command that runs on the device. Because the name is not cleaned, an attacker can put special characters in the name that make the device run extra commands. This lets the attacker 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.

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.