CVE-2023-43235

9.8 CRITICAL

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on D-Link DIR-823G routers via a stack overflow in the SetWifiDownSettings function. Attackers can exploit this by sending specially crafted requests containing malicious StartTime and EndTime parameters. All users of affected D-Link DIR-823G routers with vulnerable firmware are at risk.

💻 Affected Systems

Products:
  • D-Link DIR-823G
Versions: v1.0.2B05
Operating Systems: Embedded Linux
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web management interface. No authentication bypass required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete device compromise leading to persistent backdoor installation, network traffic interception, lateral movement to other devices, and botnet recruitment.

🟠

Likely Case

Remote code execution allowing attackers to modify router settings, intercept traffic, or use the device as a pivot point for further attacks.

🟢

If Mitigated

Limited impact if device is behind firewall with restricted WAN access and proper network segmentation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public proof-of-concept available on GitHub. CVSS 9.8 indicates trivial exploitation with high impact.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check D-Link security bulletin for latest firmware

Vendor Advisory: https://www.dlink.com/en/security-bulletin/

Restart Required: Yes

Instructions:

1. Visit D-Link support site. 2. Download latest firmware for DIR-823G. 3. Log into router admin interface. 4. Navigate to Firmware Update section. 5. Upload and apply new firmware. 6. Reboot router.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevent external access to router web interface

Network Segmentation

all

Isolate router management interface from untrusted networks

🧯 If You Can't Patch

  • Replace affected device with supported model
  • Implement strict firewall rules blocking all WAN access to router management interface

🔍 How to Verify

Check if Vulnerable:

Check firmware version in router web interface under System Status or Firmware Update section

Check Version:

Check via web interface or SSH if enabled: cat /proc/version

Verify Fix Applied:

Verify firmware version is newer than v1.0.2B05 after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to SetWifiDownSettings endpoint
  • Multiple failed login attempts followed by successful access
  • Unexpected firmware or configuration changes

Network Indicators:

  • Unusual outbound connections from router
  • Traffic to known malicious IPs
  • Port scanning originating from router

SIEM Query:

source="router_logs" AND (uri="/SetWifiDownSettings" OR message="firmware update")

🔗 References

📤 Share & Export