CVE-2022-26085

8.8 HIGH

📋 TL;DR

CVE-2022-26085 is an OS command injection vulnerability in InHand Networks InRouter302's httpd wlscan_ASP functionality that allows authenticated attackers to execute arbitrary commands via specially-crafted HTTP requests. This affects InRouter302 devices running vulnerable firmware versions, potentially compromising network infrastructure.

💻 Affected Systems

Products:
  • InHand Networks InRouter302
Versions: V3.5.4 and earlier
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated access to the HTTP interface, but default credentials may be present in some deployments.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device takeover, lateral movement to connected networks, data exfiltration, and persistent backdoor installation.

🟠

Likely Case

Unauthorized command execution leading to device configuration changes, network disruption, or credential theft.

🟢

If Mitigated

Limited impact if proper network segmentation and access controls prevent exploitation attempts.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authentication but is straightforward once access is obtained. Public exploit details are available.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: V3.5.5 or later

Vendor Advisory: https://www.inhandnetworks.com/upload/attachment/202205/10/InHand-PSA-2022-01.pdf

Restart Required: Yes

Instructions:

1. Download firmware V3.5.5 or later from InHand Networks support portal. 2. Log into router web interface. 3. Navigate to System > Firmware Upgrade. 4. Upload and install the new firmware. 5. Reboot the device.

🔧 Temporary Workarounds

Network Access Restriction

linux

Restrict HTTP management interface access to trusted IP addresses only

iptables -A INPUT -p tcp --dport 80 -s TRUSTED_IP -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP

Authentication Hardening

all

Change default credentials and implement strong authentication policies

🧯 If You Can't Patch

  • Isolate affected devices in separate VLAN with strict firewall rules
  • Implement network monitoring for suspicious HTTP requests to wlscan_ASP endpoint

🔍 How to Verify

Check if Vulnerable:

Check firmware version via web interface at System > Status or via SSH with 'cat /etc/version'

Check Version:

cat /etc/version

Verify Fix Applied:

Confirm firmware version is V3.5.5 or later and test that wlscan_ASP endpoint no longer accepts command injection payloads

📡 Detection & Monitoring

Log Indicators:

  • HTTP requests to /wlscan_ASP with shell metacharacters
  • Unusual command execution in system logs

Network Indicators:

  • HTTP POST requests to /wlscan_ASP containing pipe characters or semicolons
  • Outbound connections from router to unexpected destinations

SIEM Query:

source="router_logs" AND (uri="/wlscan_ASP" AND (content="|" OR content=";" OR content="$" OR content="`"))

🔗 References

📤 Share & Export