🇰🇷 한글 설명
Zimbra Collaboration Suite(ZCS) MTA 패키지의 로컬 권한 상승 취약점입니다. zimbra 계정이 sudo로 허용된 Postfix 관리 명령의 인자를 제한 없이 사용해 root 권한으로 임의 명령을 실행할 수 있습니다. ZCS 10.1.16 및 10.1.21 버전이 영향을 받습니다.
💡 쉬운 설명
서버에서 일반 관리 계정(zimbra)을 가진 공격자가 이 결함을 이용해 시스템의 최고 관리자 권한을 얻을 수 있습니다. 공격에는 해당 계정으로 서버 내부에서 명령을 실행할 수 있어야 합니다.
🇺🇸 원문 (English)
A local privilege escalation vulnerability in the Zimbra Collaboration Suite (ZCS) MTA package allows the Unix zimbra account to execute arbitrary commands as root. The installed sudo policy permits passwordless root execution of Postfix administration commands without restricting their arguments. An attacker can select a zimbra-controlled daemon_directory in the Postfix configuration and invoke postfix set-permissions, causing Postfix to execute the attacker's post-install program as root. The Postfix configuration directory is also writable by zimbra, so restricting postconf alone does not remove the execution path. Exploitation requires local command execution as zimbra on an MTA node. ZCS 10.1.16 and 10.1.21 are affected.
📍 영향받는 시스템
Zimbra Collaboration Suite 10.1.16 및 10.1.21 버전의 MTA 노드
⚔️ 공격 벡터
zimbra 계정으로 로컬 명령을 실행할 수 있는 공격자가 Postfix daemon_directory를 조작한 뒤 postfix set-permissions를 호출해 root로 임의 프로그램을 실행
🛡️ 대응 방법
Zimbra 벤더가 제공하는 최신 패치 버전으로 업데이트하고, sudo 정책에서 Postfix 명령 허용 범위를 제한하며, Postfix 설정 디렉터리의 zimbra 쓰기 권한을 제거
🔧 검증 코드
출력된 ZCS 버전이 10.1.16 또는 10.1.21이면 취약하므로 벤더 패치 적용이 필요하며, 그 외 버전이면 영향 범위에서 벗어난 것으로 판단합니다.
su - zimbra -c 'zmcontrol -v' 2>/dev/null | head -n 1