
WordPress WPAMS Plugin <= 44.0 (17-08-2023) is vulnerable to a high priority Arbitrary File Upload
WordPress WPAMS Plugin <= 44.0 (17-08-2023) is vulnerable to a high priority Arbitrary File Upload
WordPress WPAMS Plugin
<= 44.0 (17-08-2023)is vulnerable to a high priority Arbitrary File Upload.
CVE: CVE-2025-39401
Base Score: 10.0 CRITICAL
Unrestricted Upload of File with Dangerous Type vulnerability in mojoomla WPAMS lets attackers upload a web shell to the server, leading to full compromise.
This affects WPAMS versions: from n/a through 44.0 (17-08-2023).
Script Name: CVE-2025-39401.py
This script is a professional automated mass exploit tool that leverages the file upload vulnerability in WPAMS plugin.
It performs the following:
shell.php) directly via the vulnerable form.requests libraryrich library for colored, beautiful console outputInstall dependencies:
pip install requests rich
Make sure your shell file is named shell.php and is located in the same folder as the script.
Prepare your targets list
list.txt) with WordPress site URLs, one per line.Place your shell
shell.php in the same directory.Run the exploit script
python CVE-2025-39401.py
list.txt)<b>Nxploited</b>) or accept defaultsuccess_results.txtuploaded_shells.txtThe shell is uploaded to:
/wp-content/uploads/apartment_assets/
How is the shell filename calculated?
The WPAMS plugin names the uploaded file with this pattern:
{UNIX_TIMESTAMP}-pimg-in.{ext}
Where:
UNIX_TIMESTAMP = time of upload (seconds since epoch, as calculated by the server)pimg = fixed marker stringin = fixed string{ext} = original file extensionExample:
Your shell (shell.php) uploaded at timestamp = 1764279528 will become:
1764279528-pimg-in.php
The full URL will be:
http://target-site/wp-content/uploads/apartment_assets/1764279528-pimg-in.php
The script automatically calculates the range of timestamps around the local upload time, and checks each constructed path until it confirms your shell is accessible.
This tool is released for educational and authorized penetration testing purposes only.
Do NOT use it to compromise systems without explicit permission. Misuse is illegal.
The author is not responsible for any activity nor damage resulting from use.