Skip to content
RCE Advisory Advanced CVE-2020-15634

NETGEAR R6700 httpd strtblupgrade Format String Remote Code Execution Vulnerability

The router's web server mishandles uploaded string table files, passing user-supplied text into a format string without validation. A network-adjacent attacker without credentials could use this to run code as the web server.

d4rkn3ss Follow

Originally disclosed on Zero Day Initiative

Medium 6.3 View original

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of NETGEAR R6700 routers. Authentication is not required to exploit this vulnerability.

d4rkn3ss from VNPT ISC, on the Zero Day Initiative

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 web server passed attacker-controlled string table content directly as a format string to a printing function instead of a fixed format with the data as an argument.

Impact

A network-adjacent attacker without authentication could execute arbitrary code in the context of the web server.

What the attacker needed

Network-adjacent access to the router; no authentication required

The fix

NETGEAR issued an update to correct the vulnerability.

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.

A format string is text that a program treats as a template, where special markers tell it to insert values. If a program lets an attacker supply that template, the attacker can make it read or write memory in unintended ways. Here the router's web server did this with uploaded files, so someone on the same network could potentially take control of the server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by d4rkn3ss

View all

5 more disclosed reports, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.