🔍 CVE-2024-35187

9.1
CVSS Score
CRITICAL
2024-05-16
2026-06-17 07:34
✅ 완료

🇰🇷 한글 설명

Stalwart Mail Server 0.8.0 미만 버전에서 발생하는 취약점으로, stalwart-mail 사용자로 임의 코드 실행 권한을 획득한 공격자가 시스템의 전체 루트 권한을 탈취할 수 있습니다. 서비스 계정과 루트 권한을 분리하려는 보안 설계를 무력화하여 시스템 전체가 위험에 처할 수 있습니다.

💡 쉬운 설명

메일 서버 관리자 권한을 가진 해커가 서버의 모든 것을 통제할 수 있는 최고 관리자(root) 권한까지 쉽게 뺏을 수 있는 문제입니다. 원래는 메일 서버만 망가져야 하는데, 이 문제 때문에 컴퓨터 전체가 해킹될 수 있습니다.

🇺🇸 원문 (English)

Stalwart Mail Server is an open-source mail server. Prior to version 0.8.0, attackers who achieved Arbitrary Code Execution as the stalwart-mail user (including web interface admins) can gain complete root access to the system. Usually, system services are run as a separate user (not as root) to isolate an attacker with Arbitrary Code Execution to the current service. Therefore, other system services and the system itself remains protected in case of a successful attack. stalwart-mail runs as a separate user, but it can give itself full privileges again in a simple way, so this protection is practically ineffective. Server admins who handed out the admin credentials to the mail server, but didn't want to hand out complete root access to the system, as well as any attacked user when the attackers gained Arbitrary Code Execution using another vulnerability, may be vulnerable. Version 0.8.0 contains a patch for the issue.

📍 영향받는 시스템

Stalwart Mail Server 0.8.0 미만 모든 버전

⚔️ 공격 벡터

stalwart-mail 사용자 권한을 획득한 공격자가 권한 상승 취약점을 이용하여 루트 권한 탈취

🛡️ 대응 방법

Stalwart Mail Server를 최신 버전인 0.8.0 이상으로 업데이트

🔧 검증 코드

명령어 결과에 0.8.0 미만의 버전 번호가 출력되면 취약한 버전이 설치된 상태입니다.

Shell / Script
stalwart-mail --version 2>/dev/null | grep -E '0\.[0-7]\.'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

💻 영향받는 소프트웨어

Spring Web Services