Skip to content
File upload Write-up Advanced

An Analysis of Arlo

The Arlo basestation exposes a 'passthru' API endpoint on its internal web listener that allows arbitrary upload and download of files on the device. An attacker who can reach that interface could read the system log or replace a binary that runs automatically, potentially taking over the device.

medium.com

Published on medium.com

Netgear Arlo is one of the most popular IoT camera vendors out there. According to their website, over 100 million videos are streamed daily for millions of registered users.

James Sebree, on medium.com

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 passthru endpoint performed no authorisation or path restriction on the file names it accepted, so any caller reaching the internal listener could read or write arbitrary files.

Impact

An attacker able to reach the internal interface could read device logs and upload files, which could lead to full compromise of the device; the text notes the endpoint is not reachable from outside the internal network.

What the attacker needed

Access to the internal camera network; device reachable on its internal interface

How it was found

  1. Connect a host to the basestation's internal interface or set it as the gateway so traffic is forwarded.
  2. Request the passthru endpoint with a path to the system log to download it.
  3. Use the same endpoint to upload a file, such as a replacement for a binary that runs periodically.

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.

The camera base station runs a small web service on its internal network. That service had a feature for passing files through, and it did not check who was asking or which files were allowed, so anyone who could reach it could read or write files on the device. Writing files matters because the device runs programs automatically, so a replaced program runs the attacker's code.

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.

Similar reports

View all

Same bug class and techniques, clearest first.

Unrestricted file upload

The lesson behind this report.

An upload feature accepts a file that the server or other users' browsers then treat as code or as something trusted.