CVE-2022-43626

6.8 MEDIUM

📋 TL;DR

This vulnerability allows authenticated attackers on the same network to bypass authentication and execute arbitrary code with root privileges on D-Link DIR-1935 routers. The flaw exists in how the router processes firewall configuration requests, enabling command injection. Only users of affected D-Link router models with vulnerable firmware are impacted.

💻 Affected Systems

Products:
  • D-Link DIR-1935
Versions: 1.03
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Requires network adjacency and initial authentication, but authentication can be bypassed.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attacker gains complete root control over the router, enabling traffic interception, network pivoting, malware deployment, and persistent backdoor installation.

🟠

Likely Case

Attacker compromises the router to redirect traffic, steal credentials, or join the device to a botnet.

🟢

If Mitigated

With proper network segmentation and access controls, impact is limited to the router itself without lateral movement.

🌐 Internet-Facing: MEDIUM
🏢 Internal Only: HIGH

🎯 Exploit Status

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

Exploit requires network access but authentication bypass makes exploitation straightforward. ZDI has published technical details.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.04 or later

Vendor Advisory: https://supportannouncement.us.dlink.com/announcement/publication.aspx?name=SAP10310

Restart Required: Yes

Instructions:

1. Log into router web interface. 2. Navigate to Firmware Update section. 3. Download firmware version 1.04 or later from D-Link support site. 4. Upload and apply firmware update. 5. Reboot router after update completes.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevents external access to web management interface

Network Segmentation

all

Isolate router management interface to trusted VLAN

🧯 If You Can't Patch

  • Replace router with supported model
  • Implement strict firewall rules limiting access to router management interface

🔍 How to Verify

Check if Vulnerable:

Check firmware version in router web interface under System > Firmware

Check Version:

curl -s http://router-ip/status.html | grep 'Firmware Version'

Verify Fix Applied:

Confirm firmware version is 1.04 or later in System > Firmware section

📡 Detection & Monitoring

Log Indicators:

  • Unusual SetIPv4FirewallSettings requests
  • Multiple failed authentication attempts followed by successful access
  • Suspicious command execution in system logs

Network Indicators:

  • Unusual traffic to router management port (typically 80/443)
  • POST requests to /goform/SetIPv4FirewallSettings with suspicious parameters

SIEM Query:

source="router_logs" AND ("SetIPv4FirewallSettings" OR "authentication bypass")

🔗 References

📤 Share & Export