Skip to content
Memory corruption Advisory Advanced CVE-2017-14447

Insteon Hub PubNub "ad" Channel Message Handler Code Execution Vulnerability

A stack-based buffer overflow exists in the PubNub message handler for the 'ad' channel of Insteon Hub firmware 1012. An attacker with an authenticated HTTP request could send a crafted JSON message to overwrite the return address and potentially execute code.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 8.5 View original

An exploitable buffer overflow vulnerability exists in the PubNub message handler for the “ad” channel of Insteon Hub running firmware version 1012. Specially crafted commands sent through the PubNub service can cause a stack-based buffer overflow 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

Impact

An attacker could overwrite the return address and potentially execute arbitrary code on the device, though the CVSS vector indicates high attack complexity and privileges required.

What the attacker needed

Authenticated PubNub access; knowledge of device channel name

How it was found

  1. Send an authenticated HTTP GET request to the PubNub publish endpoint with the device's channel name.
  2. Include a JSON payload with a 'ser' field and a 'cmd' field containing a long string that overflows the buffer.
  3. The overflow overwrites the saved return address, redirecting execution to a chosen address.

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 and overwrite nearby memory. Here, the device copies a user-supplied command string without checking its length, so an attacker can overwrite the return address and redirect execution. This could let an attacker run their own code on 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.