CVE-2025-12313

6.3 MEDIUM

📋 TL;DR

This CVE describes a command injection vulnerability in D-Link DI-7001 MINI routers through the /msp_info.htm endpoint. Attackers can execute arbitrary commands remotely by manipulating the 'cmd' parameter. Organizations using affected D-Link router models are at risk.

💻 Affected Systems

Products:
  • D-Link DI-7001 MINI
Versions: 19.09.19A1 through 24.04.18B1
Operating Systems: Embedded router firmware
Default Config Vulnerable: ⚠️ Yes
Notes: All devices running affected firmware versions are vulnerable by default. No special configuration required for exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Full system compromise allowing attackers to execute arbitrary commands, install malware, pivot to internal networks, or create persistent backdoors.

🟠

Likely Case

Attackers gain unauthorized access to router configuration, intercept network traffic, or use the device as a foothold for further attacks.

🟢

If Mitigated

Limited impact if proper network segmentation, firewall rules, and access controls prevent exploitation attempts.

🌐 Internet-Facing: HIGH - The vulnerability can be exploited remotely without authentication, making internet-exposed devices immediate targets.
🏢 Internal Only: MEDIUM - Internal devices are still vulnerable but require attacker access to internal networks first.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub. The vulnerability requires no authentication and has simple exploitation vectors.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: UNKNOWN

Vendor Advisory: https://www.dlink.com/

Restart Required: No

Instructions:

Check D-Link website for firmware updates. If available, download latest firmware and apply through router admin interface. No specific patch version confirmed at this time.

🔧 Temporary Workarounds

Block External Access

all

Prevent external exploitation by blocking internet access to router admin interface

Configure firewall to block inbound traffic to port 80/443 on router WAN interface

Disable Remote Management

D-Link DI-7001 MINI

Turn off remote administration features if not required

Login to router admin > Advanced > Remote Management > Disable

🧯 If You Can't Patch

  • Segment affected routers to isolated network zones with strict firewall rules
  • Implement network monitoring and intrusion detection for suspicious command execution attempts

🔍 How to Verify

Check if Vulnerable:

Check router firmware version in admin interface. If version is between 19.09.19A1 and 24.04.18B1, device is vulnerable.

Check Version:

Login to router admin interface and navigate to Status > Device Info to view firmware version

Verify Fix Applied:

After applying any firmware update, verify version is newer than 24.04.18B1 and test if /msp_info.htm endpoint still accepts command injection.

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to /msp_info.htm with cmd parameter
  • Suspicious command execution in router logs
  • Multiple failed login attempts followed by successful access

Network Indicators:

  • Unusual outbound connections from router
  • Traffic patterns indicating command-and-control communication
  • Port scanning originating from router

SIEM Query:

source="router_logs" AND (uri="/msp_info.htm" OR cmd="*" OR "command injection")

🔗 References

📤 Share & Export