Skip to content
Info disclosure Advisory Advanced CVE-2017-12083

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

Medium 5.8 View original

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.

Discovered Lilith <(^.^<) Wyatt and Claudio Bozzato, 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

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

  1. Send an HTTP POST request to /api/USERINFO with a large first line (padded after the HTTP version) and an Origin header.
  2. The server reads the request in chunks, reallocating the buffer and moving it, which frees the original buffer.
  3. The server then reads the configure.xml file into the freed memory region.
  4. 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.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.