CVE-2023-35729

8.8 HIGH

📋 TL;DR

This vulnerability allows network-adjacent attackers to execute arbitrary code as root on D-Link DAP-2622 routers without authentication. The flaw exists in the DDP service where improper length validation of user-supplied data leads to a stack-based buffer overflow. Only D-Link DAP-2622 router users are affected.

💻 Affected Systems

Products:
  • D-Link DAP-2622
Versions: All versions prior to firmware 1.11B01
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: DDP service runs by default on port 6050/TCP. No authentication required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete compromise of the router with root-level code execution, allowing attackers to intercept traffic, modify configurations, pivot to internal networks, or install persistent malware.

🟠

Likely Case

Router takeover enabling traffic interception, DNS hijacking, credential theft, and network reconnaissance from a privileged position.

🟢

If Mitigated

Limited impact if router is isolated from sensitive networks, though still vulnerable to local network attacks.

🌐 Internet-Facing: LOW (requires network adjacency, not directly internet exploitable)
🏢 Internal Only: HIGH (exploitable by any device on the same network segment without authentication)

🎯 Exploit Status

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

ZDI has published technical details but no public exploit code. The vulnerability requires network adjacency but no authentication.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Firmware 1.11B01

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

Restart Required: Yes

Instructions:

1. Download firmware 1.11B01 from D-Link support site. 2. Log into router web interface. 3. Navigate to System > Firmware Update. 4. Upload and apply the new firmware. 5. Wait for automatic reboot.

🔧 Temporary Workarounds

Block DDP Service Port

linux

Block access to the vulnerable DDP service on port 6050/TCP using firewall rules

iptables -A INPUT -p tcp --dport 6050 -j DROP

Disable DDP Service

linux

Disable the DDP service if not required for functionality

killall ddpd

🧯 If You Can't Patch

  • Segment the router on an isolated network VLAN away from critical systems
  • Implement strict network access controls to limit which devices can communicate with the router

🔍 How to Verify

Check if Vulnerable:

Check current firmware version via web interface (System > Status) or SSH (cat /etc/version). If version is older than 1.11B01, device is vulnerable.

Check Version:

cat /etc/version

Verify Fix Applied:

Confirm firmware version is 1.11B01 or newer. Test that DDP service still functions properly if needed.

📡 Detection & Monitoring

Log Indicators:

  • Unusual connections to port 6050
  • Multiple failed DDP requests
  • Router process crashes or restarts

Network Indicators:

  • Unusual traffic patterns to router port 6050/TCP
  • Large payloads sent to DDP service

SIEM Query:

source="router.log" AND (port=6050 AND (payload_size>1000 OR error="buffer"))

🔗 References

📤 Share & Export