
CVE-2025-52691 Scanner - Обнаруживает уязвимые установки SmarterMail (CVSS 10.0 RCE)
Уязвимость RCE с оценкой CVSS 10.0 в SmarterMail. Уязвим ли ваш почтовый сервер?
Быстрый и точный сканер для CVE-2025-52691 — критической неаутентифицированной уязвимости произвольной загрузки файлов, которая позволяет выполнять удалённый код на серверах SmarterMail.
CVE-2025-52691 — уязвимость максимальной степени серьёзности (CVSS 10.0) в SmarterMail, которая позволяет неаутентифицированное удалённое выполнение кода через произвольную загрузку файлов.
Ключевые факты:
Сканер на 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
| Параметр | Описание |
|---|---|
-v, --verbose | Показывать подробный вывод |
--json | Выводить результаты в формате JSON |
--ci | Завершаться с кодом 1, если сервер уязвим (для CI/CD) |
-t, --timeout | Таймаут соединения (по умолчанию: 10s/10000ms) |
-h, --help | Показать справку |
| Код | Значение |
|---|---|
| 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
Сканер:
| Свойство | Значение |
|---|---|
| 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 |
| Вектор атаки | Сеть |
| Аутентификация | Не требуется |
| Воздействие | Полная компрометация системы |
node scan.js https://your-mail-server.com
Скачайте последнюю версию с сайта: https://www.smartertools.com/smartermail/downloads
node scan.js https://your-mail-server.com --ci
Если немедленное обновление невозможно:
Вклад приветствуется! Пожалуйста, свободно отправляйте issues и pull requests.