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.
Originally disclosed on Cisco Talos
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.
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
- Create a hostapd configuration file with a malicious SSID containing newlines and sed commands.
- Start hostapd to broadcast the malicious SSID.
- The device scans for access points and includes the malicious SSID in its output.
- 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.