Arris / Arris-variant DSL/Fiber router critical vulnerability exposure
The muhttpd web server used in Arris and Arris-variant routers has a path traversal flaw that lets an unauthenticated attacker read any regular file on the device, including the configuration database with WiFi and management credentials. An attacker could use this to take over the router and the local network.
Published on derekabdine.com
Multiple vulnerabilities exist in the MIT-licensed muhttpd web server. This web server is widely used in ISP customer premise equipment (CPE), most notably in Arris firmware used in router models (at least, possibly other) NVG443, NVG599, NVG589, NVG510, as well as ISP-customized variants such as BGW210 and BGW320…
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
The server opens the requested file using a pointer that skips the first character of the path, and it does not confine paths to the web root before opening them.
Impact
An unauthenticated attacker who can reach the web service could read WiFi and management credentials and reconfigure the router, though some secrets may need extra decryption work and the exposure is worst when remote administration is Internet-facing.
What the attacker needed
Network access to the router web port; remote administration enabled for Internet exposure; no authentication required
The fix
The issue was fixed in muhttpd 1.1.7, and ISPs deployed patches to affected routers.
How it was found
- Send an HTTP request whose path begins with a single character that is not a dot, slash or question mark, followed by the absolute file path.
- The server strips that first character and opens the remaining path as a file on the device.
- Read the returned file contents, such as the password file or the configuration database.
- Deobfuscate the configuration database using the server's own file handling to recover plaintext secrets.
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.
A web server on these routers mishandles the file path in a request, so adding one extra character at the start lets someone ask for files outside the web folder, such as the router's password database. Because no login is needed, anyone who can reach the router's web port can read those files and then log in or reconfigure the device.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.