CVE-2023-43241

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 SetWLanRadioSecurity function. Attackers can exploit this by sending specially crafted requests to the TXPower and GuardInt parameters. All users of affected D-Link DIR-823G routers running vulnerable firmware are at risk.

💻 Affected Systems

Products:
  • D-Link DIR-823G
Versions: v1.0.2B05
Operating Systems: Embedded Linux (router firmware)
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the specific model and firmware version listed. Other D-Link models or different firmware versions may not be vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

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

🟠

Likely Case

Remote code execution allowing attackers to modify router settings, intercept traffic, or use the device as part of a botnet.

🟢

If Mitigated

Limited impact if network segmentation prevents router access from untrusted networks and regular patching is performed.

🌐 Internet-Facing: HIGH - Routers are typically internet-facing devices, making them directly accessible to attackers.
🏢 Internal Only: MEDIUM - Internal attackers could exploit this if they gain network access, though external attacks are more likely.

🎯 Exploit Status

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

Public proof-of-concept code exists in GitHub repositories. The vulnerability requires no authentication and has a straightforward exploitation path.

🛠️ 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. Visit D-Link support website. 2. Download latest firmware for DIR-823G. 3. Log into router admin interface. 4. Navigate to firmware update section. 5. Upload and install new firmware. 6. Reboot router after installation.

🔧 Temporary Workarounds

Disable Remote Management

all

Prevents external attackers from accessing the vulnerable interface

Log into router admin -> Advanced -> Remote Management -> Disable

Network Segmentation

all

Isolate router management interface from untrusted networks

Configure firewall rules to restrict access to router management IP on port 80/443

🧯 If You Can't Patch

  • Replace affected router with a different model that is not vulnerable
  • Implement strict network access controls to limit who can reach the router management interface

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in admin interface under Tools -> Firmware

Check Version:

Log into router web interface and navigate to Tools -> Firmware to view current version

Verify Fix Applied:

Confirm firmware version is updated to latest version from D-Link website

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to SetWLanRadioSecurity endpoint
  • Multiple failed login attempts followed by successful access

Network Indicators:

  • Unusual outbound connections from router
  • Traffic patterns suggesting router compromise

SIEM Query:

source="router_logs" AND (uri="/SetWLanRadioSecurity" OR (TXPower OR GuardInt) AND status=200)

🔗 References

📤 Share & Export