🇰🇷 한글 설명
Roundcube의 twofactor_gauthenticator 플러그인은 2FA 인증 실패 후 서버 측 세션을 파기하지 않습니다. 이로 인해 공격자는 로그아웃 리다이렉트를 무시하고 세션을 유지할 수 있으며, 비밀번호를 탈취한 공격자가 2차 인증 코드를 무차별 대입할 수 있습니다. 이 문제는 커밋 4640889에서 수정되었습니다.
💡 쉬운 설명
두 단계 인증에 실패한 뒤에도 로그인 상태가 끊어지지 않는 문제입니다. 비밀번호를 가진 공격자가 인증 번호를 계속 시도할 수 있게 됩니다.
🇺🇸 원문 (English)
The twofactor_gauthenticator plugin for Roundcube is vulnerable to session persistence after failed 2FA verification. Due to the lack of server-side session destruction, an attacker can ignore the logout redirect and keep the session alive. This may allow an attacker who obtains user's password to e.g. brute force the second-factor code.
This issue was fixed in commit 4640889.
📍 영향받는 시스템
Roundcube 웹메일의 twofactor_gauthenticator 플러그인 (수정 커밋 4640889 이전 버전)
⚔️ 공격 벡터
비밀번호를 탈취한 공격자가 2FA 실패 후에도 세션을 유지하며 2차 인증 코드를 반복 대입
🛡️ 대응 방법
twofactor_gauthenticator 플러그인을 커밋 4640889 이상으로 업데이트
🔧 검증 코드
출력된 경로에서 플러그인 설치 위치를 확인한 뒤, 해당 플러그인 소스가 커밋 4640889 이상인지 git log 등으로 대조하며, 결과가 없으면 플러그인이 설치되지 않은 것입니다.
grep -ri 'twofactor_gauthenticator' /var/www 2>/dev/null | head -n 5