Skip to content
Access control Advisory Intermediate CVE-2022-21182

InHand Networks InRouter302 router configuration import privilege escalation vulnerability

A non-privileged user could import a router configuration through the upload.cgi API, which allowed them to change the credentials of a privileged user. This led to privilege escalation, enabling the attacker to gain higher privileges on the device.

Francesco Benvenuto Follow

Originally disclosed on Cisco Talos

High 7.4 View original

A privilege escalation vulnerability exists in the router configuration import functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted HTTP request can lead to increased privileges.

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, the upload.cgi API does not properly check whether the user has the necessary privileges to import a configuration, allowing low-privileged users to modify privileged credentials.

Impact

An attacker with a low-privileged account could escalate their privileges to that of a privileged user, potentially gaining full control of the router.

What the attacker needed

A non-privileged user account

The fix

The vendor released a firmware update to address 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.

The router has different user levels: some users are not supposed to change important settings. However, a low-level user could upload a configuration file that let them change the password of a more powerful user. This means they could take over the device with higher permissions.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.