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
CVE-2026-63030-CVE-2026-60137-wp2shell-poc — CVE-2026-63030 & CVE-2026-60137 Wp2shell Poc | Kitploit
Tools/GitHubGitHub/gagaltotal/cve-2026-63030-cve-2026-60137-wp2shell-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed TeamingPayload Development
GitHubgagaltotal/cve-2026-63030-cve-2026-60137-wp2shell-poc

CVE-2026-63030-CVE-2026-60137-wp2shell-poc

CVE-2026-63030 & CVE-2026-60137 Wp2shell Poc

View RepositoryWebsite
41 month agoNot yet reviewed

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 REST API Time-Based Blind SQLi → RCE Proof‑of‑Concept

Description

poc_wp_tot.py is a proof‑of‑concept (PoC) to exploit a time‑based blind SQL injection vulnerability on the WordPress REST API batch endpoint, and perform an escalation chain up to Remote Code Execution (RCE).

Vulnerabilities tested:

  • CVE-2026-63030
  • CVE-2026-60137

Important warnings

  • ONLY use this tool against systems you own or have explicit written permission to test. Misuse is potentially illegal and harmful.
  • Author: GhostGTR666 (github.com/gagaltotal)
  • PoC version: 1.0.0

Requirements

  • Python 3.8+ (recommended)
  • Network connection to the target WordPress
  • Access to run the script in your testing environment

Installation

  1. Clone or copy the file to your working directory.
poc_wp_tot.py
  • (Optional) Create a virtual environment:
  • root@kitploit:~
    python3 -m venv venv
    source venv/bin/activate
    

    Usage

    Screen Capture

    The script provides three operating modes: probe (detection), extract (retrieve data), and rce (execute commands). Here are usage examples.

    Probe (check vulnerability):

    root@kitploit:~
    python3 poc_wp_tot.py https://target.example.com/
    

    Extract (get scalar values via time‑based blind SQLi):

    root@kitploit:~
    python3 poc_wp_tot.py -v https://target.example.com/ "SELECT user_login FROM wp_users LIMIT 1"
    

    RCE (execute remote commands — full exploit chain):

    root@kitploit:~
    python3 poc_wp_tot.py https://target.example.com/ -c "id && uname -a"
    

    Common options

    • -h, --help : Display help message
    • -v, --verbose: Enable verbose output (debug)
    • -c <COMMAND> : RCE mode — execute shell command on target

    Brief technical summary

    • The script exploits the WordPress REST API batch endpoint to inject SQL payloads that cause the SLEEP() function to be executed on the target server as a boolean condition (time‑based blind SQLi).
    • Using probing and extraction techniques based on binary search over response times, the script can extract strings and integers from the database.
    • The exploit chain seeds an oEmbed entry via SQL payload, finds the generated post cache, composes a malicious changeset, creates a new administrator account, and uploads a PHP plugin that is executed for RCE.

    Risks & mitigation

    • This script can potentially make permanent changes to the WordPress installation (e.g., account creation, plugin upload). Ensure testing is done in a controlled environment (lab) and backups are available.
    • Immediately update WordPress and plugins to the latest versions, restrict REST API access if not needed, and use a web application firewall solution.

    Developer notes

    • The main implementation and logic are in poc_wp_tot.py.
    • To understand the full flow, see the calibrate(), get_scalar(), and exploit_rce() functions in the script.

    License & attribution

    • This PoC is provided as-is for educational/security testing purposes.
    • Original author: GhostGTR666 — github.com/gagaltotal
    Download Tool