🇰🇷 한글 설명
Dovecot의 OTP 인증에 특정 조건에서 재전송 공격(replay attack)에 취약한 문제가 있습니다. 인증 캐시가 활성화되고 passdb에서 사용자명이 변경되면 OTP 자격 증명이 캐시되어 동일한 OTP 응답이 유효하게 됩니다. 공개된 악용 코드는 알려져 있지 않습니다.
💡 쉬운 설명
일회용 비밀번호(OTP) 인증 과정을 누군가 엿보면, 그 응답을 그대로 재사용해 사용자 계정에 로그인할 수 있습니다. 보안 연결을 사용하고 SCRAM이나 OAUTH2 같은 더 안전한 인증 방식으로 전환하는 것이 좋습니다.
🇺🇸 원문 (English)
Dovecot OTP authentication is vulnerable to replay attack under specific conditions. If auth cache is enabled, and username is altered in passdb, then OTP credentials can be cached so that same OTP reply is valid. An attacker able to observe an OTP exchange is able to log in as the user. If authentication happens over unsecure connection, switch to SCRAM protocol. Alternatively ensure the communcations are secured, and if possible switch to OAUTH2 or SCRAM. No publicly available exploits are known.
📍 영향받는 시스템
Dovecot IMAP/POP3 서버 (OTP 인증 및 인증 캐시 활성화 환경, 구체적 버전은 공지 확인 필요)
⚔️ 공격 벡터
네트워크상에서 OTP 인증 교환을 관찰한 공격자가 해당 응답을 재전송하여 사용자로 로그인
🛡️ 대응 방법
Dovecot 패치 적용, 비보안 연결 시 SCRAM으로 전환, 통신 암호화(TLS) 보장, 가능하면 OAUTH2 또는 SCRAM 사용
🔧 검증 코드
출력된 버전이 CVE-2026-27855 패치가 포함된 수정 버전 이상인지 벤더 공지와 대조하고, 낮으면 업데이트가 필요합니다.
dovecot --version 2>/dev/null | head -n 1