Circle with Disney Apid Use-Between-Reallocs Information Disclosure Vulnerability
A use-after-free in the apid daemon of Circle with Disney allows an unauthenticated remote attacker to leak strings from an internal database via the Access-Control-Allow-Origin header. The attacker can read sensitive information such as email addresses and phone numbers from the device's configuration file.
Discovered Lilith > Wyatt Follow
Originally disclosed on Cisco Talos
An exploitable information disclosure vulnerability exists in the apid daemon of the Circle with Disney running firmware 2.0.1. A specially crafted set of packets can make the Disney Circle dump strings from an internal database into an HTTP response.
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
Likely, the server stores pointers to HTTP header values inside a buffer that is later reallocated, leaving dangling pointers that are used after the buffer is freed.
Impact
An unauthenticated remote attacker could read sensitive information from the device's configuration file, such as email addresses and phone numbers, which could be used in further attacks.
What the attacker needed
Network connectivity to the device; no authentication required
How it was found
- Send an HTTP POST request to /api/USERINFO with a large first line (padded after the HTTP version) and an Origin header.
- The server reads the request in chunks, reallocating the buffer and moving it, which frees the original buffer.
- The server then reads the configure.xml file into the freed memory region.
- The server responds with the Access-Control-Allow-Origin header containing data from configure.xml.
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's web server reuses a memory buffer for the HTTP request. When the request grows, the buffer is moved, but some saved pointers (like the one for the Origin header) still point to the old location. Later, when the server reads a database file into that old location, the server sends back the database contents in the Access-Control-Allow-Origin header, letting an attacker see private data.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.