目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-10914 PoC — D-Link多款产品 安全漏洞

来源
关联漏洞
标题: D-Link多款产品 安全漏洞 (CVE-2024-10914)
Description:D-Link DNS-320等都是中国友讯(D-Link)公司的一款NAS(网络附属存储)设备。 D-Link多款产品存在安全漏洞,该漏洞源于对参数name的错误操作会导致操作系统命令注入。以下产品及版本受到影响:D-Link DNS-320、DNS-320LW、DNS-325和DNS-340L 20241028版本及之前版本。
介绍
# POC - CVE-2024–10914- Command Injection Vulnerability in `name` parameter for D-Link NAS

[![My telegarm](https://img.shields.io/badge/My%20Shop-verylazytech-%23FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=yellow)](https://t.me/+Oiy2q9Y5Zfo0NTg0)
[![Medium](https://img.shields.io/badge/Medium-%40verylazytech-%231572B6?style=flat&logo=medium&logoColor=white)](https://t.me/+Oiy2q9Y5Zfo0NTg0)
[![Github](https://img.shields.io/badge/Github-verylazytech-%23181717?style=flat&logo=github&logoColor=white)](https://github.com/yenyangmjaze)
[![Buy Me A Coffee](https://img.shields.io/badge/Buy%20Me%20A%20Coffee-verylazytech-%23FFDD00?style=flat&logo=buy-me-a-coffee&logoColor=yellow)](https://t.me/+Oiy2q9Y5Zfo0NTg0)

## Overview

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. The attack can be launched remotely. The complexity of an attack is rather high. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used.

# Affected Devices

- DNS-320 Version 1.00
- DNS-320LW Version 1.01.0914.2012
- DNS-325 Version 1.01,  Version 1.02
- DNS-340L Version 1.08

# Affected Components

The vulnerability is localized to the `account_mgr.cgi` script, particularly in the handling of the `cgi_user_add` command. The `name` parameter in this script does not adequately sanitize input, allowing for command execution.

**Read about it** — [CVE-2024-10914](https://nvd.nist.gov/vuln/detail/CVE-2024-10914)

> **Disclaimer**: This Proof of Concept (POC) is made for educational and ethical testing purposes only. Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end user’s responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

## Getting Started

### Finding Targets

To find potential targets, use Fofa (similar to Shodan.io):

- **Fofa Dork**: `app="D_Link-DNS-ShareCenter" && server=="lighttpd/1.4.25-devel-fb150ff"`

![Alt text](Fofa-Dlink.png)

### Cloning the Repository

First, clone the repository:

```bash
git clone https://github.com/yenyangmjaze/cve-2024-10914
```

Run the Exploit:

### For Linux / MacOs:
```bash
bash ./cve-2024-10914.sh -u <url>
```
### For Windows:
```powershell
./cve-2024-10914.ps1 -u <url>
```

![Alt text](Exploit-2024-10914.png)

文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →