Insteon Hub MPFS Upload Firmware Update Vulnerability
The Insteon Hub firmware leaves the Microchip MPFS upload feature enabled, allowing an authenticated attacker to upload a custom MPFS image containing a firmware.htm file. This re-enables an unsigned firmware update path, so the attacker can then upload arbitrary firmware that is flashed to the device.
Originally disclosed on Cisco Talos
An exploitable firmware update vulnerability exists in Insteon Hub running firmware version 1013. The HTTP server allows for uploading arbitrary MPFS binaries that could be modified to enable access to hidden resources which allow for uploading unsigned firmware images to the device.
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 MPFS upload feature was left enabled by default, and the firmware update handler trusts the presence of a firmware.htm file without verifying a signature.
Impact
An authenticated attacker could upload and flash arbitrary firmware to the device, giving them full control over it.
What the attacker needed
Valid credentials for the web interface; network access to the device
The fix
The MPFS upload feature should be disabled and firmware updates should require a valid signature.
How it was found
- Create an MPFS image containing a file named firmware.htm.
- Upload the custom MPFS image via the /mpfsupload form.
- Modify a valid Insteon firmware file and add carriage-return/newline characters at the beginning, removing the trailing signature.
- Upload the modified firmware via a POST request to /firmware.htm.
- Reboot the device, which will flash the new firmware.
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 has a built-in file upload page that was meant for development but was never turned off. An attacker who can log in can use it to add a special file that unlocks a hidden firmware update feature, then send their own firmware to the device. Because the device does not check any signature, it will accept and run the attacker's firmware.
What is File upload?
An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.