Skip to content
Leaked secrets Advisory Intermediate CVE-2022-27172

InHand Networks InRouter302 console infactory hard-coded password vulnerability

A hard-coded password in the console infactory functionality of InHand Networks InRouter302 V3.5.37 allows a low-privileged user to access factory-level commands. An attacker with valid low-privileged credentials could execute privileged operations.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

Medium 4.3 View original

A hard-coded password vulnerability exists in the console infactory functionality of InHand Networks InRouter302 V3.5.37. A specially-crafted network request can lead to privileged operation execution.

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

The infactory command compares the user-supplied password against a hard-coded encrypted string, which is decrypted using a hard-coded AES key, making the password recoverable from the firmware.

Impact

An attacker with low-privileged credentials could execute privileged operations such as rebooting the system or testing hardware.

What the attacker needed

Low-privileged user credentials; network access to the router console

The fix

The vendor released a patch; the hard-coded password should be removed or replaced with a securely stored, unique credential.

How it was found

  1. Log in to the router console with low-privileged credentials.
  2. Enter the infactory command.
  3. Provide the correct password (derived from the hard-coded value).
  4. Access the factory menu with privileged commands.

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.

The router's console has a special 'factory' mode that asks for a password. That password is built into the router's software, so anyone who can log in with a normal user account can find it and unlock extra commands. This lets them do things they shouldn't, like rebooting the device or testing hardware.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

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.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.