CVE-2022-28573

9.8 CRITICAL

📋 TL;DR

CVE-2022-28573 is a critical command injection vulnerability in D-Link DIR-823-Pro routers that allows attackers to execute arbitrary system commands via the system_time_timezone parameter. This affects all users of D-Link DIR-823-Pro v1.0.2 routers, potentially giving attackers complete control over the device.

💻 Affected Systems

Products:
  • D-Link DIR-823-Pro
Versions: v1.0.2
Operating Systems: Embedded Linux (router firmware)
Default Config Vulnerable: ⚠️ Yes
Notes: Affects the web management interface. No special configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full router compromise allowing attackers to intercept all network traffic, install persistent malware, pivot to internal networks, and use the router as a botnet node.

🟠

Likely Case

Router takeover leading to DNS hijacking, credential theft from network traffic, and installation of backdoors for persistent access.

🟢

If Mitigated

Limited impact if router is behind firewall with restricted WAN access and strong network segmentation.

🌐 Internet-Facing: HIGH - Routers are typically internet-facing devices directly accessible from WAN interfaces.
🏢 Internal Only: MEDIUM - Internal attackers could exploit if they gain network access, but requires specific conditions.

🎯 Exploit Status

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

Exploitation requires authentication to the web interface. Public proof-of-concept code exists in GitHub repositories.

🛠️ 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. Log into D-Link support portal 2. Download latest firmware for DIR-823-Pro 3. Access router web interface 4. Navigate to System Tools > Firmware Upgrade 5. Upload and install new firmware 6. Reboot router

🔧 Temporary Workarounds

Disable Remote Management

all

Prevent external access to web management interface

Access router web interface > System Tools > Admin > Disable 'Enable Remote Management'

Restrict Management Access

all

Limit web interface access to specific IP addresses

Access router web interface > Advanced > Firewall > Access Control > Add allowed IPs only

🧯 If You Can't Patch

  • Replace vulnerable router with updated model or different vendor
  • Place router behind dedicated firewall with strict inbound rules blocking all unnecessary ports

🔍 How to Verify

Check if Vulnerable:

Check firmware version in router web interface: Login > Status > Device Info > Firmware Version

Check Version:

curl -s http://router-ip/status/deviceinfo | grep Firmware

Verify Fix Applied:

Verify firmware version shows newer than v1.0.2 after update

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /goform/SetNTPserverSeting
  • Commands with shell metacharacters in system_time_timezone parameter
  • Unexpected processes running on router

Network Indicators:

  • Unusual outbound connections from router
  • DNS queries to suspicious domains
  • Port scans originating from router

SIEM Query:

source="router_logs" AND (uri_path="/goform/SetNTPserverSeting" OR param="system_time_timezone" AND value MATCHES "[;&|`$()]+")

🔗 References

📤 Share & Export