CVE-2023-24343

8.8 HIGH

📋 TL;DR

This vulnerability allows remote attackers to execute arbitrary code on D-Link N300 Wi-Fi Router DIR-605L devices via a stack overflow in the curTime parameter. Attackers can potentially take full control of affected routers. Only users of the specific D-Link router model with vulnerable firmware are affected.

💻 Affected Systems

Products:
  • D-Link N300 Wi-Fi Router DIR-605L
Versions: v2.13B01
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web management interface which is typically enabled by default. Remote exploitation requires access to the router's web interface.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete router compromise allowing attacker to intercept all network traffic, install persistent malware, pivot to internal network devices, or use router as botnet node.

🟠

Likely Case

Router takeover enabling traffic interception, DNS hijacking, credential theft from unencrypted traffic, and denial of service.

🟢

If Mitigated

Limited impact if router is behind firewall with restricted WAN access, though internal attackers could still exploit.

🌐 Internet-Facing: HIGH
🏢 Internal Only: HIGH

🎯 Exploit Status

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

Exploit requires authentication to the router's web interface. Public proof-of-concept code exists in GitHub repositories.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Check D-Link security bulletin for latest patched version

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

Restart Required: Yes

Instructions:

1. Log into router web interface. 2. Navigate to firmware update section. 3. Download latest firmware from D-Link support site. 4. Upload and apply firmware update. 5. Router will reboot automatically.

🔧 Temporary Workarounds

Disable remote management

all

Prevent external access to router web interface

Change default credentials

all

Use strong unique password for router admin account

🧯 If You Can't Patch

  • Replace router with supported model
  • Place router behind firewall with strict inbound rules

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in web interface under Tools > Firmware

Check Version:

N/A - Check via web interface

Verify Fix Applied:

Confirm firmware version is newer than v2.13B01 after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /goform/formSchedule with long curTime parameters
  • Multiple failed login attempts followed by successful login

Network Indicators:

  • Unusual outbound connections from router
  • DNS queries to suspicious domains
  • Traffic redirection patterns

SIEM Query:

source="router_logs" AND (uri="/goform/formSchedule" OR method="POST" AND uri CONTAINS "formSchedule")

🔗 References

📤 Share & Export