Skip to content
Misconfiguration Advisory Intermediate CVE-2023-27360

NETGEAR RAX30 lighttpd Misconfiguration Remote Code Execution Vulnerability

The lighttpd web server on the NETGEAR RAX30 router was configured to execute files from untrusted locations, allowing a network-adjacent attacker to run arbitrary code as root without authentication.

Rocco Calvi Follow

Originally disclosed on Zero Day Initiative

High 7.5 View original

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

Rocco Calvi and Steven Seeley of Incite Team, 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 lighttpd configuration mapped a writable or otherwise untrusted directory as a CGI/script execution location, so uploaded or placed files were executed by the server.

Impact

A network-adjacent attacker could execute arbitrary code as root on the router, with no authentication required.

What the attacker needed

Network-adjacent access to the router; no authentication needed

The fix

NETGEAR issued an update that corrects the lighttpd configuration so files from untrusted sources are no longer executed.

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 router runs a small web server so you can manage it from a browser. Here, that web server was set up so it would run certain files as programs instead of just showing them. Because of that, someone on the same network could make the router run their own code with the highest privileges, without needing a password.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

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.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.