Skip to content
Misconfiguration Advisory Intermediate CVE-2022-29481

InHand Networks InRouter302 console nvram leftover debug code vulnerability

The router console contains an undocumented nvram command that lets a privileged user read and write any nvram variable, even when the console warns the value is invalid. An attacker with privileged credentials could disable security features such as firmware signature verification and then upload malicious firmware.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Medium 4.9 View original

A leftover debug code vulnerability exists in the console nvram functionality of InHand Networks InRouter302 V3.5.45. A specially-crafted series of network requests can lead to disabling security features.

Francesco Benvenuto, on Cisco Talos

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 an undocumented debug command was left in the console configuration mode, exposing raw nvram read and write operations without validation.

Impact

A privileged attacker could disable security features such as firmware signature verification, which could re-enable previously patched firmware upload issues.

What the attacker needed

Valid console credentials; privileged (enable) password; network access to telnet or sshd

The fix

The vendor released a patch, so the hidden nvram command should no longer be reachable from the console.

How it was found

  1. Log in to the router console over telnet or sshd with valid credentials.
  2. Run the enable command and supply the privileged password.
  3. Enter configuration mode with the configure terminal command.
  4. Run the hidden nvram command to get or set a variable, then commit.

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.

This router has a command-line console you reach after logging in. Hidden inside it is an extra command that was probably left over from development, and it lets you change low-level settings the router stores about itself. Because one of those settings controls whether the router checks firmware signatures, someone who already has admin access could switch that check off and install their own firmware.

What is Misconfiguration?

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

More by Francesco Benvenuto

View all

152 more disclosed reports, best first.

More from Cisco Talos

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.