CVE-2021-33962

9.8 CRITICAL

📋 TL;DR

This CVE describes an OS command injection vulnerability in China Mobile An Lianbao WF-1 routers that allows attackers to execute arbitrary commands on the device. The vulnerability exists in the web interface's /api/ZRUsb/pop_usb_device component and affects users of this specific router model. Attackers can exploit this to gain full control of the router.

💻 Affected Systems

Products:
  • China Mobile An Lianbao WF-1 router
Versions: v1.0.1
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the specific WF-1 model from China Mobile. The vulnerability is in the web management interface component.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of the router allowing attackers to intercept all network traffic, install persistent malware, pivot to internal networks, and use the router as part of a botnet.

🟠

Likely Case

Router takeover leading to DNS hijacking, credential theft from network traffic, and deployment of malware to connected devices.

🟢

If Mitigated

Limited impact if router is isolated from critical systems and proper network segmentation is in place.

🌐 Internet-Facing: HIGH - The vulnerable component is accessible via the web interface which is typically internet-facing on home routers.
🏢 Internal Only: MEDIUM - If the web interface is only accessible internally, risk is reduced but still significant for lateral movement.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub. The vulnerability requires no authentication and has simple exploitation vectors.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: http://iot.10086.cn/?l=en-us

Restart Required: No

Instructions:

Check vendor website for firmware updates. If available, download latest firmware from http://iot.10086.cn and apply through router web interface.

🔧 Temporary Workarounds

Disable web interface remote access

all

Prevent external access to router management interface

Login to router admin panel -> Security/Firewall -> Disable remote management/remote access

Block access to vulnerable endpoint

linux

Use router firewall to block access to /api/ZRUsb/pop_usb_device

iptables -A INPUT -p tcp --dport 80 -m string --string "/api/ZRUsb/pop_usb_device" --algo bm -j DROP

🧯 If You Can't Patch

  • Replace the router with a different model that receives security updates
  • Place router behind a dedicated firewall that blocks all management interface traffic

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in web interface. If version is v1.0.1, the device is vulnerable.

Check Version:

curl -s http://router-ip/ | grep -i firmware

Verify Fix Applied:

Verify firmware version has been updated from v1.0.1. Test if /api/ZRUsb/pop_usb_device endpoint still exists.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /api/ZRUsb/pop_usb_device
  • Commands with shell metacharacters in URL parameters
  • Unexpected process execution from web server

Network Indicators:

  • HTTP requests containing shell commands in parameters
  • Traffic to /api/ZRUsb/pop_usb_device from external IPs

SIEM Query:

source="router.log" AND (uri="/api/ZRUsb/pop_usb_device" OR cmd="*;*" OR cmd="*|*" OR cmd="*`*" OR cmd="*$(*")

🔗 References

📤 Share & Export