(Pwn2Own) Amazon Smart Plug OTA Update Process Out-Of-Bounds Write Remote Code Execution Vulnerability
The Amazon Smart Plug's over-the-air update handling fails to validate user-supplied data, causing a write past the end of a data structure. A network-adjacent attacker could exploit this to execute arbitrary code on the device.
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of Amazon Smart Plug. Authentication is not required to exploit this vulnerability.
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 OTA update parser does not validate the length or contents of user-supplied data before copying it into a fixed-size structure, leading to an out-of-bounds write.
Impact
A network-adjacent attacker without authentication could execute arbitrary code on the device.
What the attacker needed
Network-adjacent access to the device; no authentication required
The fix
The vulnerability was fixed in Amazon Smart Plug version 3.1.212.
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.
This is a memory corruption bug in a smart plug's update process. When the device receives an update, it does not check the data properly, so an attacker nearby on the network can send crafted data that overwrites memory and runs their own code on the plug.
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.