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
Tools/GitHubGitHub/h4cd0c/wp2shell
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubh4cd0c/wp2shell

wp2shell

wp2shell — Pre-authentication RCE in WordPress Core (CVE-2026-60137 + CVE-2026-63030). Chains an SQL injection in author__not_in with batch-route confusion for unauthenticated remote code execution on WP 6.9.0–6.9.4 / 7.0.0–7.0.1.

View Repository
454 months agoNot yet reviewed

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.

    936
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    555
  • 3

    redforge

    cybersecurity91/redforge

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

    353
  • 4

    ARTEX

    baarai/artex

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

    348
  • 5

    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.

    336
  • 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.

    288

Explore all tools

Browse our collection of tools

View all tools →
Share

wp2shell

Pre-authentication Remote Code Execution against WordPress Core.

Chains CVE-2026-60137 (SQLi in author__not_in / author_exclude parameter of WP_Query) with CVE-2026-63030 (REST API batch-route confusion) for unauthenticated RCE.

Affected Versions

RangeStatus
<= 6.8.5Not affected (no batch confusion)
6.8.0 - 6.8.5SQLi only, no RCE
6.9.0 - 6.9.4Vulnerable
7.0.0 - 7.0.1Vulnerable
7.0.2+ / 6.9.5+Patched

Usage

python3 poc.py -u TARGET_URL
python3 poc.py -u TARGET_URL --sql "SELECT user_pass FROM wp_users LIMIT 1"
python3 poc.py -u TARGET_URL -c "id"

Modes

ArgumentsBehavior
-u TARGET_URLCheck if vulnerable (timing probe)
-u TARGET_URL --sql "SQL"Extract scalar via blind SQLi
-u TARGET_URL -c "CMD"Full RCE chain

How It Works

  1. Batch-route confusion — exploits the batch API (/batch/v1) to desync request handling and bypass authentication
  2. Time-based blind SQLi — injects into author_exclude parameter via SLEEP() timing oracle
  3. oEmbed cache corruption — creates forged oEmbed cache entries via UNION injection
  4. Customizer changeset injection — recasts cache entries as a changeset with admin authorship
  5. Admin account creation — publishes the changeset and creates a new admin user
  6. Plugin upload — logs in as the new admin, uploads a plugin that registers a REST API command endpoint
  7. Command execution — sends command via the plugin's REST endpoint, returns output, self-destructs

Attack Flow

Vulnerability check → Seed oEmbed posts → Extract table name (blind SQLi)
→ Extract admin ID (blind SQLi) → Extract cache post IDs (blind SQLi)
→ Inject poisoned changeset via batch → Create admin user
→ Login → Upload command plugin → Execute command → Cleanup

Credits

  • CVE-2026-60137 — SQLi in author__not_in: discovered by TF1T, dtro, haongo
  • CVE-2026-63030 — Batch-route confusion: discovered by Adam Kues (Assetnote / Searchlight Cyber)
  • PoC implementation: sergiointel/wp2shell-poc
Download Tool