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

Insteon Hub HTTPExecuteGet Firmware Update host Parameter Buffer Overflow Vulnerability

The HTTP server in Insteon Hub firmware incorrectly copies the host parameter from a firmware update request into a global buffer without checking its length, causing a buffer overflow. An attacker could send a crafted HTTP GET request to overflow the buffer and potentially execute code or crash the device.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Medium 5.3 View original

An exploitable buffer overflow vulnerability exists in Insteon Hub running firmware version 1012. The HTTP server implementation incorrectly handles the host parameter during a firmware update request, leading to a buffer overflow on a global section.

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 code uses strcpy to copy a user-controlled GET parameter into a global buffer without any length check.

Impact

An attacker could overflow the global buffer, potentially leading to code execution or a denial of service, though the HTTP data length is limited to 100 bytes.

What the attacker needed

Valid basic-auth credentials; network access to device port 25105

How it was found

  1. Send an HTTP GET request to the device's web server on port 25105.
  2. Include a URL with at least three parameters, where the third parameter is '1' and the first starts with 'u'.
  3. Provide a long value for the second parameter to overflow the global host buffer.
  4. Include a valid Basic Authorization header.

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, spilling over into adjacent memory. Here, the device's web server takes a value from a URL and copies it without checking length, so an attacker can send a long value to overwrite memory. This could let them crash the device or possibly run their own code.

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.