CVE-2023-25280
Critical · 9.8 CISA KEVCVSS
9.8
EPSS
97.9%
Published
Mar 16, 2023
CISA due date
Oct 21, 2024
Cloudanix analysis
Attackers can remotely take over certain D-Link routers and use them to disrupt service, spy on traffic, or break further into the network.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Trivial
- Impact
- Full Compromise
- Component
- Firmware
- Class
- Command Injection
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Medium
What it actually does
CVE-2023-25280 is an unauthenticated OS command injection vulnerability in the D-Link DIR-820L A1 firmware, specifically in the ping diagnostic functionality exposed through ping.ccp. The ping_addr parameter is not safely validated before being passed to an operating system command, allowing a remote attacker to append shell metacharacters and arbitrary commands. Successful exploitation can execute commands as root on the router, enabling full device compromise, configuration theft, traffic interception, persistence, botnet enrollment, denial of service, and lateral movement into networks behind the device.
Why it matters to the business
Compromise of an edge router can disrupt internet connectivity, expose internal traffic, weaken network segmentation, and give attackers a foothold into otherwise protected environments. The vulnerability is high urgency because it is remotely exploitable without authentication, has a CVSS score of 9.8, has very high EPSS likelihood, and is listed in CISA KEV with active exploitation in the wild and a remediation due date of 2024-10-21. Organizations still using affected DIR-820L A1 firmware should treat exposed devices as likely targeted, especially if management or diagnostic interfaces are reachable from untrusted networks.
How an attack unfolds
An attacker first identifies a D-Link DIR-820L A1 router with the vulnerable web interface reachable over the network, often by scanning for D-Link router fingerprints or the ping.ccp endpoint. The attacker then sends a crafted HTTP request to the ping diagnostic page with the ping_addr parameter containing a legitimate-looking address followed by shell metacharacters such as semicolons, pipes, backticks, or command substitution. Because the firmware passes the parameter into a system ping command without proper sanitization, the injected command is executed by the underlying embedded Linux shell with root privileges. From there, the attacker may download malware using wget, curl, tftp, or busybox utilities, modify firewall or DNS settings, dump configuration files, open remote access services, pivot through the device, or join the router to an IoT botnet. Since the device sits at the network edge, exploitation may leave limited host-style telemetry and may be visible mainly in web requests, device logs, DNS lookups, outbound connections, and unexpected process or filesystem artifacts on the router.
How to fix it
Immediately remove affected D-Link DIR-820L A1 devices running vulnerable firmware from internet exposure and restrict management access to trusted administrative networks only. Check D-Link’s support advisories for the DIR-820L A1 platform; if no supported fixed firmware is available for the deployed model or firmware branch, replace the device with a currently supported router. Disable remote administration from WAN interfaces, block access to the management UI from untrusted networks, and use firewall ACLs or VPN-only administration as compensating controls. Rebooting alone is not sufficient if configuration changes, startup scripts, or malware persistence were added. For any device suspected of compromise, export required configuration cautiously, factory reset or reflash from trusted media where supported, rotate administrative passwords, replace any reused credentials, review DNS/firewall/port-forward settings, and monitor for recurring malicious outbound traffic.
How to confirm the fix worked
Confirm inventory for D-Link DIR-820L A1 hardware and firmware versions, especially firmware identified as DIR820LA1_FW105B03 or 1.05B03. Verify that the management web interface and ping.ccp endpoint are not reachable from the internet or other untrusted networks. Use authenticated administrative access or device banners to confirm firmware status and whether the device is still vendor-supported. If a firmware update is available, validate the installed version after upgrade and retest that crafted ping_addr values containing command separators are rejected or treated as literal input rather than executed. Where no fix exists, validate that replacement or isolation controls prevent access to the vulnerable interface except from approved administrative sources. Also validate router configuration integrity, including DNS servers, port forwards, firewall rules, startup scripts, and administrative accounts.
Typical attack path
- Scan the internet or internal network for D-Link DIR-820L A1 routers and exposed web management interfaces.
- Confirm the vulnerable firmware family and reachability of the ping.ccp diagnostic endpoint.
- Send a crafted request to ping.ccp with shell metacharacters or command substitution in the ping_addr parameter.
- Execute commands as root through the router web process.
- Download and execute a payload, alter device configuration, or enable remote access.
- Use the compromised router for botnet activity, traffic interception, DNS manipulation, proxying, denial of service, or pivoting into adjacent networks.
How to detect it
Review web access logs, reverse proxy logs, firewall logs, IDS/IPS events, and packet captures for requests to ping.ccp, especially those containing ping_addr with command separators or encoded shell characters. Look for HTTP requests to /ping.ccp from unfamiliar external IP addresses, bursts of scanning, or attempts that include commands such as wget, curl, tftp, busybox, chmod, sh, or nc. On the router, inspect administrative logs where available, current configuration, DNS settings, port forwards, firewall rules, enabled remote management, new users, startup scripts, cron entries, and files in writable temporary paths. Network telemetry is often more reliable than endpoint telemetry for embedded routers: investigate unexpected outbound connections from the router to internet hosts, unusual DNS queries, TFTP/HTTP downloads, IRC-like traffic, cryptocurrency mining pools, or high-volume scanning/DDoS behavior. If exploitation is suspected, capture volatile data where possible, including process list, open sockets, routing table, iptables rules, and recently modified files, before rebooting or resetting the device.
- /ping.ccp
- ping_addr=
- ping_addr=;
- ping_addr=%3B
- ping_addr=|
- ping_addr=%7C
- ping_addr=`
- ping_addr=%60
- ping_addr=$(
- ping_addr=%24%28
- ping_addr=*wget*
- ping_addr=*curl*
- ping_addr=*tftp*
- ping_addr=*busybox*
- ping_addr=*chmod*
- ping_addr=*nc*
- GET /ping.ccp
- POST /ping.ccp
- /tmp/
- /var/tmp/
- /dev/shm/
- wget http://
- curl http://
- tftp -g
- busybox wget
- chmod +x
- /bin/sh
- /bin/ash
What your security team should do
- Treat internet-exposed D-Link DIR-820L A1 devices as urgent because the vulnerability is in CISA KEV, is actively exploited in the wild, and has a very high EPSS score.
- Identify all affected devices, including unmanaged branch, lab, and small-office routers, and determine whether they run DIR820LA1_FW105B03 / firmware 1.05B03 or related vulnerable builds.
- Remove WAN exposure of the management interface immediately and restrict administration to VPN or trusted management networks.
- Replace unsupported affected devices if no vendor-fixed firmware is available.
- For exposed devices, perform compromise assessment before returning them to service, including review of configuration, logs, running processes, startup behavior, DNS settings, and outbound network connections.
- Factory reset or reflash suspected compromised devices, then rotate router administrator credentials and any credentials that may have traversed or been stored on the device.
- Add perimeter detections for requests to /ping.ccp containing shell metacharacters in the ping_addr parameter.
- Monitor for outbound connections from routers to unfamiliar IPs, especially downloads over HTTP, TFTP, or connections associated with IoT botnet behavior.
- Prioritize remediation ahead of the KEV due date if still applicable and maintain evidence of mitigation or replacement for governance tracking.
The record
OS Command injection vulnerability in D-Link DIR820LA1_FW105B03 allows attackers to escalate privileges to root via a crafted payload with the ping_addr parameter to ping.ccp.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-62853 ThingLinks is an enterprise IoT platform. CWE-78
- CVE-2026-119335 Pi-hole is a DNS sinkhole that protects devices from unwanted content without installing… CWE-78
- CVE-2026-116241 pgAdmin 4's Import/Export Data tool wraps a user's query export in a psql \copy (...) TO… CWE-78
- CVE-2026-119713 Paperclip 2026.403.0 before 2026.416.0 contains a remote code execution vulnerability… CWE-78
- CVE-2026-119288 Zuke is a code-first, strongly typed build automation system for Deno. CWE-78
- CVE-2026-118238 The Tenda W18E web management server is vulnerable to OS command injection via the… CWE-78
- CVE-2026-91913 Dell OpenManage Enterprise, versions prior to 4.8.0, contains an Improper Neutralization… CWE-78
- CVE-2026-118992 CallBackery versions before 0.62.0 for Perl allow OS command execution via sqlite3 shell… CWE-78