Abusing Apis In Iot Devices
The article describes unauthenticated HTTP API endpoints on consumer IoT devices such as Roku, Google Cast, Apple TV and Fire TV, reachable by any host on the same network. An attacker on that network could query device information and invoke functions like remote control, settings changes and power actions without authentication.
Published on systemweakness.com
This article will talk heavily on abusing API systems such as the ones used in RokuTV’s, AppleTV’s, FireSticks, GoogleCasts, GoogleHomes, Routers and much more. This article will also go into deep detail about developing a path of logic to get around security systems that may prevent making a request to these API…
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the device exposes its control API over plain HTTP on the local network with no authentication, so any host that can reach the port can call the same functions the vendor's own app uses.
Impact
Any host on the same local network could read device details and invoke control functions such as changing settings or powering the device off, though the article notes some vendors' protocols are much harder to abuse than others.
What the attacker needed
Attacker on the same local network; device with an exposed control API
The fix
Devices should require authentication on their local control APIs and restrict which hosts on the network can call them, rather than serving them openly over HTTP.
How it was found
- Sniff the network for SSDP NOTIFY or M-SEARCH packets to spot the device and its advertised service location.
- Scan the device's ports to find the HTTP control port and any other open services.
- Request the device description document from the control port to read model, serial and service listings.
- Follow the service description file paths listed in that document to learn the available state variables and functions.
- Guess further paths under the service directories to reach additional endpoints.
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 write-up has not been written yet. The Original tab links to the source.
Many smart TVs and streaming sticks run a small web server on your home network so that phone apps can control them. The article points out that these little servers often do not ask for any password, so anyone already on the same Wi-Fi can send them commands. That means a guest or a compromised laptop on your network could change settings or read device details.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.