
SmarterMail の CVSS 10.0 の RCE 脆弱性。あなたのメールサーバーは脆弱ですか?
CVE-2025-52691 のための高速で正確なスキャナー - SmarterMail サーバーでリモートコード実行を可能にする、認証不要の深刻な任意ファイルアップロード脆弱性。
CVE-2025-52691 は、SmarterMail における 最大深刻度 (CVSS 10.0) の脆弱性で、任意ファイルアップロードを通じて認証なしのリモートコード実行を許します。
主な事実:
Node.js スキャナー:
Bash スキャナー:
# Verify Node.js version
node --version # Should be v12.0.0 or higher
# Verify curl (for Bash scanner)
curl --version
# 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
# 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
# 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
# Using Node.js
node scan.js https://mail.example.com
# Using Bash
./scan.sh https://mail.example.com
node scan.js https://mail.example.com --verbose
./scan.sh https://mail.example.com -v
node scan.js https://mail.example.com --json
./scan.sh https://mail.example.com --json
node scan.js https://mail.example.com --ci
./scan.sh https://mail.example.com --ci
| コード | 意味 |
|---|---|
| 0 | 脆弱でない、またはスキャン完了 |
| 1 | 脆弱 ( --ci フラグ使用時) |
| 2 | スキャンエラー発生 |
+============================================================+
| 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
Scan Results:
Target: https://mail.example.com
SmarterMail detected
Version: 100.0.9483
Build: 9483
STATUS: NOT VULNERABLE
Build 9483 is patched
{
"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
}
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
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
スキャナーは:
node scan.js https://your-mail-server.com
最新バージョンを以下からダウンロード: https://www.smartertools.com/smartermail/downloads
node scan.js https://your-mail-server.com --ci
即時のアップグレードが不可能な場合:
貢献を歓迎します! お気軽に Issue や Pull Request を送信してください。
MIT ライセンス - 詳細は LICENSE ファイルを参照
許可された使用のみ
このツールは以下を対象としています:
システムをスキャンする前に明示的な許可を得る必要があります。
コンピュータシステムの無許可スキャンは、以下の法律を含む (ただしこれに限定されない) 法律に違反する可能性があります:
このツールの作成者は:
このツールを使用することにより、対象システムをスキャンする法的権利を有していることを確認し、自身の行動に対して全責任を負うことに同意したものとみなされます。
安全を守り、メールサーバーを最新の状態に保ってください!
| オプション | 説明 |
|---|
-v, --verbose | 詳細な出力を表示 |
--json | 結果をJSON形式で出力 |
--ci | 脆弱な場合にコード1で終了 (CI/CD向け) |
-t, --timeout | 接続タイムアウト (デフォルト: 10秒/10000ミリ秒) |
-h, --help | ヘルプメッセージを表示 |
| プロパティ | 値 |
|---|
| CVE ID | CVE-2025-52691 |
| CVSS スコア | 10.0 (CRITICAL) |
| CVSS ベクトル | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 攻撃ベクトル | Network |
| 認証 | 不要 |
| 影響 | システム全体の侵害 |