Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-3273 PoC — D-Link DNS-320 命令注入漏洞

Source
Associated Vulnerability
Title:D-Link DNS-320 命令注入漏洞 (CVE-2024-3273)
Description:D-Link DNS-320是中国友讯(D-Link)公司的一款NAS(网络附属存储)设备。 D-Link DNS-320L存在命令注入漏洞,该漏洞源于文件/cgi-bin/nas_sharing.cgi存在命令注入漏洞。受影响的产品和版本:D-Link DNS-320L,DNS-325,DNS-327,DNS-340L,D-Link NAS Storage。
Description
CVE-2024-3273 - D-Link Remote Code Execution (RCE)
Readme
# CVE-2024-3273 - D-Link Remote Code Execution (RCE) Exploit

## Description
This repository contains an exploit for **CVE-2024-3273**, a critical vulnerability found in specific D-Link devices that allows for Remote Code Execution (RCE). The vulnerability arises from improper input validation in the `nas_sharing.cgi` CGI scripts, enabling attackers to execute arbitrary commands without authentication.

## Impact
Exploitation of CVE-2024-3273 can grant unauthorized access to affected devices, allowing attackers to:
- Manipulate system configurations
- Access sensitive data
- Deploy malicious code

## Affected Products
This vulnerability primarily impacts various D-Link NAS devices and potentially other products utilizing the vulnerable CGI scripts.

## Usage
To use the exploit, follow these steps:

1. Clone the repository:
   ```bash
   git clone https://github.com/X-Projetion/CVE-2024-3273-EXPLOIT.git
   cd CVE-2024-3273-EXPLOIT
2. Ensure you have the necessary dependencies installed:
   pip install -r requirements.txt
3. Execute the exploit:
   python CVE-2024-3273.py -u <target_url>

## Mitigation
Users are strongly advised to:
- Update their D-Link devices to the latest firmware to patch the vulnerability.
- Implement network segmentation to isolate vulnerable devices.
- Monitor network traffic for suspicious activity.

## Disclaimer
This exploit is intended for educational and research purposes only. Use responsibly and ensure compliance with all applicable laws and regulations. I do not take any responsibility for the misuse of this exploit or any consequences resulting from its use.

## Contributing
Feel free to contribute by submitting issues or pull requests to improve the documentation or functionality of the exploit.
File Snapshot

[4.0K] /data/pocs/e6d5974a89d99ca31d1a2416e48f1ce95941916d ├── [5.4K] CVE-2024-3273.py ├── [1.7K] README.md └── [ 44] requirements.txt 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.