
CVE-2024-10914는 여러 레거시 D-Link 네트워크 연결 스토리지(NAS) 장치에 영향을 미치는 심각한 명령 주입 취약점입니다.
이 스크립트는 특정 D-Link 장치의 원격 코드 실행 취약점인 CVE-2024-10914에 대한 개념 증명(PoC) 익스플로잇입니다. 이 스크립트는 취약한 장치를 식별하고 악용하여 임의의 명령을 실행합니다.
참고: 이 스크립트는 교육 목적 또는 승인된 환경에서만 사용해야 합니다. 이 취약점을 무단으로 악용하는 것은 불법적이고 비윤리적일 수 있습니다.
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"
requests (HTTP 요청용)alive-progress (진행 표시줄용)prompt_toolkit (대화형 셸용)argparse (명령줄 인수 처리용)필요한 라이브러리를 설치하려면 다음을 사용하세요:
pip3 install -r requirements.txt
usage: exploit.py [-h] [-u URL] [-f FILE] [-t THREADS] [-p PORT]
A PoC exploit for CVE-2024-10914 - D-Link Remote Code Execution (RCE)
optional arguments:
-h, --help Show this help message and exit
-u URL, --url URL Single target IP to test (e.g., 192.168.1.1)
-f FILE, --file FILE File containing list of target IPs to scan
-t THREADS, --threads THREADS
Number of threads to use for scanning (default: 5)
-p PORT, --port PORT Port to target (default: 80)
python3 exploit.py -u 192.168.1.100 -p 80
python3 exploit.py -f targets.txt -p 80 -t 10
이 스크립트는 D-Link 장치의 취약점을 악용하려고 시도하며, 특히 다음을 대상으로 합니다.
이 스크립트는 교육 목적으로만 사용됩니다. 테스트할 명시적 권한이 없는 시스템이나 네트워크에서 이 스크립트를 사용하지 마십시오.
저자는 이 도구의 오용에 대해 책임을 지지 않습니다.
자세한 내용은 공식 GitHub 저장소를 참조하십시오: https://github.com/ThemeHackers/CVE-2024-10914
문제를 발견하거나 기여하려면 GitHub 저장소에서 이슈를 열거나 풀 리퀘스트를 제출해 주십시오.
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 LICENSE 파일을 참조하십시오.
MIT License
Copyright (c) 2024 ds_zct
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.