Skip to content
Race condition Advisory Advanced CVE-2017-2898

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.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.9 View original

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.

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 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

  1. Send a correctly signed firmware image to the update endpoint.
  2. The device decrypts the image to a temporary file and starts verifying it.
  3. Send a custom unsigned firmware image to the same endpoint, which overwrites the temporary file.
  4. 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.

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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.