
CVE-2025-52691 Scanner - Rileva installazioni SmarterMail vulnerabili (CVSS 10.0 RCE)
Vulnerabilità RCE CVSS 10.0 in SmarterMail. Il tuo server di posta è vulnerabile?
Scanner rapido e accurato per CVE-2025-52691 - una vulnerabilità critica di caricamento arbitrario di file senza autenticazione che consente l'esecuzione remota di codice sui server SmarterMail.
CVE-2025-52691 è una vulnerabilità di gravità massima (CVSS 10.0) in SmarterMail che consente l'esecuzione remota di codice senza autenticazione tramite caricamento arbitrario di file.
Fatti principali:
Scanner Node.js:
Scanner 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
| Codice | Significato |
|---|---|
| 0 | Non vulnerabile o scansione completata |
| 1 | Vulnerabile (quando si usa il flag --ci) |
| 2 | Si è verificato un errore di scansione |
+============================================================+
| 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
Lo scanner:
node scan.js https://your-mail-server.com
Scarica l'ultima versione da: https://www.smartertools.com/smartermail/downloads
node scan.js https://your-mail-server.com --ci
Se l'aggiornamento immediato non è possibile:
I contributi sono i benvenuti! Non esitare a inviare issue o pull request.
Licenza MIT - consulta il file LICENSE per i dettagli
SOLO USO AUTORIZZATO
Questo strumento è destinato a:
Devi avere un'autorizzazione esplicita prima di scansionare qualsiasi sistema.
La scansione non autorizzata di sistemi informatici può violare leggi tra cui, a titolo esemplificativo ma non esaustivo:
Gli autori di questo strumento:
Utilizzando questo strumento, dichiari di avere il diritto legale di scansionare i sistemi target e accetti la piena responsabilità per le tue azioni.
Resta al sicuro e mantieni aggiornati i tuoi server di posta!
| Opzione | Descrizione |
|---|
-v, --verbose | Mostra output dettagliato |
--json | Emette i risultati in formato JSON |
--ci | Esce con codice 1 se vulnerabile (per CI/CD) |
-t, --timeout | Timeout di connessione (predefinito: 10s/10000ms) |
-h, --help | Mostra il messaggio di aiuto |
| Proprietà | Valore |
|---|
| CVE ID | CVE-2025-52691 |
| Punteggio CVSS | 10.0 (CRITICO) |
| Vettore CVSS | AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| Vettore di attacco | Rete |
| Autenticazione | Nessuna richiesta |
| Impatto | Compromissione completa del sistema |