Security Advisory: NETGEAR Routers FunJSQ Vulnerabilities
The FunJSQ component in NETGEAR routers had an insecure update mechanism that disabled TLS certificate validation and extracted unsigned packages to the root filesystem, and its HTTP server had an unauthenticated command injection in the funjsq_access_token parameter. An attacker could execute arbitrary code with root privileges from the LAN or WAN.
Published on onekey.com
Example H2
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 update script used curl with certificate validation disabled and extracted unsigned archives to the root path, while the HTTP server built a shell command from unsanitised user input.
What the attacker needed
NETGEAR router with vulnerable firmware; FunJSQ component enabled (e.g., QoS on); For update attack: MitM position; For command injection: access to port 12300
The fix
The vulnerabilities were fixed in the listed firmware versions.
How it was found
- Send a request to apply_bind.cgi with action_mode=funjsq_bind and a crafted funjsq_access_token value.
- The token value is inserted into a curl command line without sanitisation.
- The injected command executes as root, as shown by the id output.
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 router runs a third-party gaming accelerator that downloads updates without checking if the download is genuine, and it also has a web service that passes user input directly to a system command. An attacker who can intercept network traffic or send a crafted request can run their own code on the router as the root user, taking full control.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.