Skip to content
Memory corruption Advisory Advanced CVE-2017-14452CVE-2017-14453CVE-2017-14454CVE-2017-14455

Insteon Hub PubNub control Channel Message Handler Code Execution Vulnerabilities

Multiple buffer overflow vulnerabilities exist in the PubNub message handler for the 'control' channel of Insteon Hub firmware version 1012. An attacker who impersonates the PubNub service and sends a specially crafted JSON response can overflow global buffers and potentially execute arbitrary code.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 8.5 View original

Multiple exploitable buffer overflow vulnerabilities exists in the PubNub message handler for the “control” channel of Insteon Hub running firmware version 1012. Specially crafted replies received from the PubNub service can cause buffer overflows on a global section overwriting arbitrary data.

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

The firmware uses strcpy to copy JSON string values into fixed-size global buffers without validating their length.

Impact

An attacker could overwrite global data and potentially execute arbitrary code on the device, though the CVSS vector indicates high attack complexity and the need for privileges.

What the attacker needed

Ability to impersonate PubNub service; device in factory reset state

The fix

The vendor advised that the issues were addressed and planned beta testing, but the text does not confirm a final fix.

How it was found

  1. Impersonate the PubNub service to intercept the device's HTTPS GET request.
  2. Respond with a JSON object containing an overly long value for one of the vulnerable fields (cc_r, ad_r, al, or ak).
  3. The device parses the JSON and copies the long value into a fixed-size buffer, causing a buffer overflow.

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.

A buffer overflow happens when a program copies more data into a fixed-size memory area than it can hold, causing the extra data to spill over into adjacent memory. Here, the Insteon Hub device trusts data from an online service (PubNub) and copies it without checking length, so an attacker who can pretend to be that service can send too much data and overwrite important memory, possibly taking control of the device.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by Claudio Bozzato

View all

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

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.