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

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

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

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

工具目录

分类

查看所有分类
Loading categories
smartermail-cve-scanner — CVE-2025-52691 扫描器 - 检测存在漏洞的 SmarterMail 安装(CVSS 10.0 RCE) | Kitploit
工具/GitHubGitHub/nxgn-kd01/smartermail-cve-scanner
侦察漏洞扫描器漏洞利用信息收集Web安全渗透测试
GitHubnxgn-kd01/smartermail-cve-scanner

smartermail-cve-scanner

CVE-2025-52691 扫描器 - 检测存在漏洞的 SmarterMail 安装(CVSS 10.0 RCE)

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

SmarterMail CVE-2025-52691 扫描器

SmarterMail 中的 CVSS 10.0 RCE 漏洞。您的邮件服务器是否易受攻击?

用于检测 CVE-2025-52691 的快速、精准扫描器——这是一个严重的未授权任意文件上传漏洞,可在 SmarterMail 服务器上实现远程代码执行。

CVSS Score License: MIT

关于 CVE-2025-52691

CVE-2025-52691 是 SmarterMail 中的一个**最高严重级别(CVSS 10.0)**漏洞,允许通过任意文件上传实现未授权远程代码执行。

关键信息:

  • 受影响版本: SmarterMail Build 9406 及更早版本
  • 攻击向量: 网络(无需身份验证)
  • 影响: 服务器完全沦陷(RCE)
  • 已修补版本: Build 9413 及以上(推荐:Build 9483)
  • 发现者: Chua Meng Han,Centre for Strategic Infocomm Technologies (CSIT)

先决条件

Node.js 扫描器:

  • Node.js 12+(无需其他依赖)

Bash 扫描器:

  • Bash 3.2+
  • curl
root@kitploit:~
# Verify Node.js version
node --version  # Should be v12.0.0 or higher

# Verify curl (for Bash scanner)
curl --version

快速开始

Node.js 扫描器(推荐——跨平台)

root@kitploit:~
# Clone and run
git clone https://github.com/nxgn-kd01/smartermail-cve-scanner.git
cd smartermail-cve-scanner
node scan.js https://mail.example.com

Bash 扫描器(Unix/Linux/macOS)

root@kitploit:~
# Clone and run
git clone https://github.com/nxgn-kd01/smartermail-cve-scanner.git
cd smartermail-cve-scanner
chmod +x scan.sh
./scan.sh https://mail.example.com

直接下载

root@kitploit:~
# Node.js version
curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.js
node scan.js https://mail.example.com

# Bash version
curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.sh
chmod +x scan.sh
./scan.sh https://mail.example.com

用法

扫描 SmarterMail 服务器

root@kitploit:~
# Using Node.js
node scan.js https://mail.example.com

# Using Bash
./scan.sh https://mail.example.com

使用详细输出进行扫描

root@kitploit:~
node scan.js https://mail.example.com --verbose
./scan.sh https://mail.example.com -v

JSON 输出(用于自动化)

root@kitploit:~
node scan.js https://mail.example.com --json
./scan.sh https://mail.example.com --json

CI/CD 模式(存在漏洞时退出代码为 1)

root@kitploit:~
node scan.js https://mail.example.com --ci
./scan.sh https://mail.example.com --ci

命令行选项

退出代码

代码含义
0不存在漏洞,或扫描已完成
1存在漏洞(使用 --ci 标志时)
2扫描过程中发生错误

示例输出

存在漏洞的服务器

root@kitploit:~
+============================================================+
|  CVE-2025-52691 Scanner (SmarterMail RCE)               |
+============================================================+

Severity: CRITICAL (CVSS 10.0)
Type: Unauthenticated Arbitrary File Upload -> RCE

[INFO] Scanning target: https://mail.example.com

Scan Results:
  Target: https://mail.example.com
  SmarterMail detected
  Version: 100.0.9350
  Build: 9350

  STATUS: VULNERABLE
  Build 9350 is affected by CVE-2025-52691

  Remediation:
  $ Upgrade to SmarterMail Build 9483 or later
  $ Download: https://www.smartertools.com/smartermail/downloads

已修补的服务器

root@kitploit:~
Scan Results:
  Target: https://mail.example.com
  SmarterMail detected
  Version: 100.0.9483
  Build: 9483

  STATUS: NOT VULNERABLE
  Build 9483 is patched

JSON 输出

root@kitploit:~
{
  "vulnerability": "CVE-2025-52691",
  "name": "SmarterMail RCE",
  "severity": "CRITICAL",
  "cvss": 10,
  "target": "https://mail.example.com",
  "smartermail_detected": true,
  "version": "100.0.9350",
  "build": 9350,
  "status": "vulnerable",
  "vulnerable": true,
  "vulnerable_max_build": 9406,
  "patched_min_build": 9413,
  "recommended_build": 9483
}

CI/CD 集成

GitHub Actions

root@kitploit:~
name: SmarterMail Security Scan

on:
  schedule:
    - cron: '0 6 * * *'  # Daily at 6 AM
  workflow_dispatch:

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - name: Download Scanner
        run: |
          curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.js

      - name: Scan Mail Server
        run: node scan.js ${{ secrets.MAIL_SERVER_URL }} --ci

GitLab CI

root@kitploit:~
security-scan:
  stage: test
  image: node:18
  script:
    - curl -O https://raw.githubusercontent.com/nxgn-kd01/smartermail-cve-scanner/main/scan.js
    - node scan.js $MAIL_SERVER_URL --ci
  allow_failure: false

工作原理

该扫描器:

  1. 探测常见的 SmarterMail 端点以检测应用程序
  2. 从响应和标头中提取版本/构建信息
  3. 比较构建号与已知受影响版本
  4. 报告漏洞状态并提供修复指导

检测方法

  • 检查 Web 界面登录页面
  • 从 HTML 内容中解析版本字符串
  • 检查 HTTP 标头以获取版本信息
  • 支持自签名 SSL 证书

安全说明

  • 零依赖:仅使用 Node.js 内置模块(无 npm 包)——消除供应链风险
  • 已禁用 SSL 验证:扫描器接受自签名证书以扫描内部/测试服务器。仅可对您拥有或已获授权扫描的服务器使用
  • 只读:扫描器仅执行 HTTP GET 请求——不会尝试利用该漏洞

漏洞详情

受影响版本

  • SmarterMail Build 9406 及更早版本

已修补版本

  • Build 9413 及以上(最低修补版本)
  • Build 9483 及以上(推荐)

修复措施

第 1 步:验证漏洞

root@kitploit:~
node scan.js https://your-mail-server.com

第 2 步:更新 SmarterMail

从以下网址下载最新版本: https://www.smartertools.com/smartermail/downloads

第 3 步:验证修复

root@kitploit:~
node scan.js https://your-mail-server.com --ci

临时缓解措施

如果无法立即升级:

  1. 限制对 SmarterMail Web 界面的网络访问
  2. 使用 Web 应用程序防火墙 (WAF) 过滤恶意上传
  3. 监控日志中可疑的文件上传活动
  4. 考虑暂时将 Web 界面下线

参考资料

  • 新加坡 CSA 警报
  • The Hacker News 相关报道
  • SmarterMail 版本说明
  • SmarterMail 下载

贡献

欢迎贡献!请随时提交 issue 或 pull request。

许可证

MIT 许可证——详情请参阅 LICENSE 文件

法律免责声明

仅限授权使用

本工具适用于:

  • 测试自有系统的安全专业人员
  • 验证自身基础设施的系统管理员
  • 持有书面授权的渗透测试人员
  • 受控环境中的教育与研究目的

在扫描任何系统之前,您必须获得明确授权。

未经授权扫描计算机系统可能违反法律,包括但不限于:

  • 《计算机欺诈与滥用法》(CFAA)——美国
  • 《计算机滥用法》——英国
  • 《刑法》第 342.1 条——加拿大
  • 其他司法辖区的类似网络犯罪法律

本工具的作者:

  • 对因使用本工具而导致的滥用或损害不承担任何责任
  • 不纵容或支持未经授权访问计算机系统
  • 按“原样”提供本工具,不附带任何形式的保证

使用本工具即表示您确认拥有扫描目标系统的合法权利,并愿意为自己的行为承担全部责任。


保持安全,并确保您的邮件服务器及时更新!

下载工具
选项说明
-v, --verbose显示详细输出
--json以 JSON 格式输出结果
--ci若存在漏洞则退出代码为 1(用于 CI/CD)
-t, --timeout连接超时(默认:10s/10000ms)
-h, --help显示帮助信息
属性值
CVE 编号CVE-2025-52691
CVSS 评分10.0(严重)
CVSS 向量AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
攻击向量网络
身份验证无需
影响系统完全沦陷