CVE-2022-25558

7.5 HIGH

📋 TL;DR

Tenda AX1806 routers running firmware v1.0.0.1 contain a stack overflow vulnerability in the formSetProvince function. Attackers can exploit this by sending specially crafted ProvinceCode parameters to cause a Denial of Service (DoS), potentially crashing the device. This affects all users of Tenda AX1806 routers with the vulnerable firmware version.

💻 Affected Systems

Products:
  • Tenda AX1806
Versions: v1.0.0.1
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the specific firmware version; other Tenda models or different firmware versions may not be vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device crash requiring physical reboot, potentially leading to extended network downtime and disruption of all connected services.

🟠

Likely Case

Temporary DoS causing router reboot and brief network interruption until device restarts automatically.

🟢

If Mitigated

No impact if device is patched or not exposed to untrusted networks.

🌐 Internet-Facing: HIGH - Routers are typically internet-facing devices, making them directly accessible to attackers.
🏢 Internal Only: MEDIUM - Internal attackers could still exploit if they have network access to the router's management interface.

🎯 Exploit Status

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

Public GitHub repositories contain proof-of-concept code demonstrating the vulnerability exploitation.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Later than v1.0.0.1 (check Tenda for specific fixed version)

Vendor Advisory: Unknown - Check Tenda official website for security advisories

Restart Required: Yes

Instructions:

1. Log into Tenda router admin interface. 2. Navigate to System Tools > Firmware Upgrade. 3. Download latest firmware from Tenda official website. 4. Upload and install the firmware update. 5. Wait for router to reboot automatically.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevent external access to router management interface

Network Segmentation

all

Isolate router management interface to trusted network segment only

🧯 If You Can't Patch

  • Replace affected router with updated model or different vendor
  • Implement network monitoring to detect exploitation attempts and alert on router reboots

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in admin interface under System Status or Firmware Version

Check Version:

Login to router web interface and navigate to System Status page

Verify Fix Applied:

Confirm firmware version is updated to a version later than v1.0.0.1

📡 Detection & Monitoring

Log Indicators:

  • Multiple failed HTTP POST requests to formSetProvince endpoint
  • Router reboot logs without normal shutdown sequence
  • Unusual traffic patterns to router management interface

Network Indicators:

  • HTTP POST requests with unusually long ProvinceCode parameters
  • Sudden loss of connectivity to router followed by reboot

SIEM Query:

source="router_logs" AND (uri="/goform/setProvince" OR message="reboot" OR message="crash")

🔗 References

📤 Share & Export