CVE-2022-26782 Command injection in InRouter302

Critical 9.9 Published Updated

Attackers can achieve remote code execution on InHand Networks InRouter302 devices by exploiting improper input validation in nvram import and httpd functions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-26782?

CVE-2022-26782 is a critical command injection vulnerability in InHand Networks InRouter302, published on 12 May 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Multiple improper input validation vulnerabilities exists in the libnvram.so nvram_import functionality of InHand Networks InRouter302 V3.5.4. A specially-crafted file can lead to remote code execution. An attacker can send a sequence of requests to trigger this vulnerability.An improper input validation vulnerability exists in the `httpd`'s `user_define_set_item` function. Controlling the `user_define_timeout` nvram variable can lead to remote code execution.

Weakness: CWE-787, CWE-20

Which versions are affected by CVE-2022-26782?

It affects 1 product.

Products include Inhandnetworks Ir302 Firmware.

How do I fix CVE-2022-26782?

No fix has been published for CVE-2022-26782 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-26782 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-26782 exists.

Sources

Also known as GHSA-2r2r-3m5m-6f5f.

Is CVE-2022-26782 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free