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/tempiltin/duplicate2shell-cve-2026-123751
Vulnerability AnalysisExploitationWeb Application ExploitationPost-ExploitationWeb SecurityPenetration TestingCommand and ControlRemote Access ToolPayload Development
GitHubtempiltin/duplicate2shell-cve-2026-123751

Duplicate2Shell-CVE-2026-123751

Python PoC for CVE-2026-123751: exploits an unauthenticated file upload in the WP Duplicate WordPress plugin to deploy a PHP webshell, with version detection and cleanup.

View Repository
4 days agoNot yet reviewed
Share

Duplicate2Shell

PoC for CVE-2026-123751: an unauthenticated file upload in the WordPress plugin WP Duplicate (local-sync) up to 1.1.11. Uploaded files land in a directory that executes PHP, so an upload is code execution.

The handler is hooked on setup_theme, so any URL reaches it. It compares the attacker's prod_key_random_id against the stored id with !=. Send JSON true and PHP 8 casts the non-numeric string to true by itself, so the check passes. handle_upload_single_big_file then writes file_data, the hex of a zlib blob, to wp-content/uploads/local_sync/backups/ without looking at the extension.

Usage

python3 duplicate2shell.py https://target.tld                  # shell prompt
python3 duplicate2shell.py https://target.tld --cmd 'id'       # one command
python3 duplicate2shell.py https://target.tld --detect-only    # version check
python3 duplicate2shell.py https://target.tld --cleanup        # delete on exit

The script reads the plugin version first and stops on a patched build unless you pass --force. It uploads, echoes a nonce back to prove execution, then gives you a prompt. Type :rm to delete the shell and quit, :q to keep it.

Standard library Python 3. Nothing to install.

The shell

Around half a kilobyte of PHP. A bare visit prints identity, kernel, PHP version, docroot, writability, open_basedir and disable_functions. ?c= runs the command through /bin/sh -c and streams the result as text/plain.

Every request is a new process, so cd, export and quoting have to sit inside each command.

Cleanup

--cleanup, or :rm at the prompt. Both remove the uploaded file and check the URL returns 404. Nothing else is touched: no plugin files, no wp-config.php, no cron.

Notes

The bypass needs PHP 8 and does nothing on PHP 7.

Use passthru, not a bare exec. Where exec() does not echo without its output array, an exec only shell uploads fine and answers with silence.

To spot it in a log, look for base64 POST bodies containing is_local_sync and handle_upload_single_big_file.

Download Tool

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.

    867
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    544
  • 3

    ARTEX

    baarai/artex

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

    385
  • 4

    redforge

    cybersecurity91/redforge

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

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

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

    279

Explore all tools

Browse our collection of tools

View all tools →