Circle with Disney Firmware Update Signature Check Bypass Vulnerability
The firmware update process verifies a signed firmware image but then extracts a different file that an attacker can replace in a race condition. An attacker with a valid token and a spoofed source IP could install unsigned firmware, leading to arbitrary code execution.
Originally disclosed on Cisco Talos
An exploitable vulnerability exists in the signature verification of the firmware update functionality of Circle with Disney. Specially crafted network packets can cause an unsigned firmware to be installed in the device resulting in arbitrary code execution.
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 firmware verification and extraction are not atomic, allowing a time-of-check time-of-use race condition where the verified file can be replaced before extraction.
Impact
An attacker could install unsigned firmware, resulting in arbitrary code execution on the device.
What the attacker needed
Valid token; source IP in [redacted]/24 (e.g. via DHCP spoofing)
How it was found
- Send a correctly signed firmware image to the update endpoint.
- The device decrypts the image to a temporary file and starts verifying it.
- Send a custom unsigned firmware image to the same endpoint, which overwrites the temporary file.
- The verification of the first image completes successfully, but the second image is extracted and installed.
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.
When a device updates its software, it should check that the update is genuine. Here, the check and the installation happen at slightly different times, so an attacker can swap the file after it has been checked but before it is installed. This lets them install their own malicious software on the device.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.