Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2024-9756 β€” Order Attachments for WooCommerce 2.0 - 2.4.1 - Missing Authorization to Authenticated (Subscriber+) Limited Arbitrary File Upload | Kitploit
Tools/GitHubGitHub/nxploited/cve-2024-9756
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubnxploited/cve-2024-9756

CVE-2024-9756

Order Attachments for WooCommerce 2.0 - 2.4.1 - Missing Authorization to Authenticated (Subscriber+) Limited Arbitrary File Upload

View Repository
1201 year agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    634
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    417
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    383
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    328
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    288

Explore all tools

Browse our collection of tools

View all tools β†’
Share

πŸš€ WooCommerce Arbitrary File Upload Exploit (CVE-2024-9756)

πŸ“Œ Overview

This exploit leverages an unauthorized limited arbitrary file upload vulnerability in the Order Attachments for WooCommerce plugin (versions 2.0 to 2.4.1) for WordPress.
The vulnerability allows authenticated users (Subscriber+) to upload restricted file types without proper authorization.

⚠️ Disclaimer

This script is for educational and security research purposes only. Any unauthorized use of this exploit on systems you do not own is strictly illegal.


πŸ”— CVE Details

  • CVE ID: CVE-2024-9756
  • Vulnerable Plugin: Order Attachments for WooCommerce
  • Affected Versions: 2.0 to 2.4.1
  • Vulnerability Type: Missing Authorization to Authenticated Arbitrary File Upload
  • Exploitation Prerequisite: Valid WordPress login with at least "Subscriber" role
  • Potential Impact: Limited file uploads that can be used for further exploitation.

βš™οΈ Requirements

Ensure you have the following before running the exploit:

βœ… Dependencies

  • Python 3.x
  • requests module β†’ Install with:
    pip install requests
    
  • Target WordPress site with the vulnerable plugin installed.

βœ… WordPress User Permissions

  • Requires Subscriber+ access to exploit.

πŸš€ Exploit Usage

πŸ”Ή Running the Exploit

python3 CVE-2024-9756.py -u <TARGET_URL> -un <USERNAME> -p <PASSWORD>

Example:

python3 CVE-2024-9756.py -u http://192.168.100.74:888/wordpress4 -un khaled -p mypassword

πŸ”§ Advanced Usage

You can specify custom file names and order IDs:

πŸ”Ή Upload a specific file

python3 CVE-2024-9756.py -u <TARGET_URL> -un <USERNAME> -p <PASSWORD> --filename="custom.png" --filetype="image/png"

πŸ”Ή Attach file to a different Order ID

python3 CVE-2024-9756.py -u <TARGET_URL> -un <USERNAME> -p <PASSWORD> -o 200

πŸ“Œ Script Behavior

  1. Authenticates with WordPress using the provided credentials.
  2. Verifies the file exists locally before uploading.
  3. Executes the file upload exploit via the vulnerable AJAX endpoint.
  4. Parses the server response and extracts the uploaded file URL.

βœ… Expected Output

If successful, the script will return the uploaded file URL:

[*] Initiating authentication...
[βœ”] Authentication successful.
[*] Deploying payload: Nxploit.jpg to order 196...
[βœ”] Payload successfully deployed!
πŸ”— File URL: http://192.168.100.74:888/wordpress4/wp-content/uploads/2025/03/Nxploit.jpg

πŸ”₯ Mitigation & Fixes

  • Upgrade the plugin to the latest patched version.
  • Restrict file upload permissions to Admins only.
  • Modify functions.php to block wp_ajax_wcoa_add_attachment from unauthorized users:
    if (!current_user_can('manage_woocommerce')) {
        wp_send_json_error(['message' => 'Unauthorized'], 403);
        exit;
    }
    

πŸ›‘ Legal Notice

This exploit is published for educational purposes and security research only.
Unauthorized use against systems without explicit permission is illegal and punishable under cybersecurity laws.
Use at your own risk.


Download Tool