Circle with Disney Apid Strstr Authentication Bypass Vulnerability
The API daemon's authentication routine uses a substring search to match tokens, allowing a crafted token that is a substring of a valid entry to bypass authentication. An attacker with network access could gain administrative access to the device.
Originally disclosed on Cisco Talos
An exploitable authentication bypass vulnerability exists in the API daemon of Circle with Disney running firmware 2.0.1. A specially crafted token can bypass the authentication routine of the Apid binary, causing the device to grant unintended administrative access.
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 authentication routine uses strstr to check if the provided token is a substring of a line in the app_list file, instead of requiring an exact match.
Impact
An attacker with network connectivity to the device could gain unintended administrative access.
What the attacker needed
Network connectivity to the device; knowledge of the appid (leaked via SSL certificate)
How it was found
- Obtain the appid, which is leaked in the client SSL certificate when an administrator connects to the device.
- Craft a token consisting of the appid followed by a space and the first three characters of the Circle's MAC address OUI.
- Send the crafted token in an API request to bypass authentication.
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 checks if a provided token appears anywhere inside a line of a file, rather than requiring an exact match. Because the file contains extra characters, an attacker can send a shorter string that is part of a valid token and still be accepted. This lets someone with network access to the device log in as an administrator without knowing the full token.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.