
CVE-2025-52691 Scanner - 취약한 SmarterMail 설치를 탐지합니다 (CVSS 10.0 RCE)
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
즉시 업그레이드가 불가능한 경우:
기여를 환영합니다! 언제든지 이슈나 풀 리퀘스트를 제출해 주세요.
MIT 라이선스 - 자세한 내용은 LICENSE 파일을 참조하세요
승인된 사용만 허용
이 도구는 다음을 위해 제작되었습니다:
시스템을 스캔하기 전에 명시적 권한이 있어야 합니다.
승인되지 않은 컴퓨터 시스템 스캔은 다음을 포함하되 이에 국한되지 않는 법률을 위반할 수 있습니다:
이 도구의 작성자는:
이 도구를 사용함으로써 귀하는 대상 시스템을 스캔할 법적 권리가 있음을 인정하고 모든 행동에 대한 전적인 책임을 수락합니다.
안전을 유지하고 메일 서버를 최신 상태로 유지하세요!
| 옵션 | 설명 |
|---|
-v, --verbose | 상세 출력 표시 |
--json | 결과를 JSON으로 출력 |
--ci | 취약한 경우 종료 코드 1로 종료 (CI/CD용) |
-t, --timeout | 연결 시간 초과 (기본값: 10초/10000ms) |
-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 |
| 공격 경로 | 네트워크 |
| 인증 | 불필요 |
| 영향 | 완전한 시스템 장악 |