🇰🇷 한글 설명
nginx 1.5.x ~ 1.6.x(1.6.1 이전), 1.7.x(1.7.4 이전)의 SMTP 프록시에서 STARTTLS 구현 결함으로 인해 I/O 버퍼링이 제대로 제한되지 않음. 중간자 공격자가 TLS 암호화 후에도 평문 SMTP 명령을 삽입하여 암호화된 세션을 손상시킬 수 있음.
💡 쉬운 설명
메일 서버의 보안 암호화(STARTTLS) 업그레이드가 제대로 작동하지 않는 문제. 공격자가 네트워크를 감시하면서 암호화되어야 할 메일 명령을 몰래 끼워넣을 수 있음.
🇺🇸 원문 (English)
The STARTTLS implementation in mail/ngx_mail_smtp_handler.c in the SMTP proxy in nginx 1.5.x and 1.6.x before 1.6.1 and 1.7.x before 1.7.4 does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted SMTP sessions by sending a cleartext command that is processed after TLS is in place, related to a "plaintext command injection" attack, a similar issue to CVE-2011-0411.
📍 영향받는 시스템
nginx 1.5.x, 1.6.x (< 1.6.1), 1.7.x (< 1.7.4) SMTP 프록시 모듈
⚔️ 공격 벡터
중간자(MITM) 위치에서 STARTTLS 협상 중 또는 후에 평문 SMTP 명령 주입
🛡️ 대응 방법
nginx를 1.6.1 이상 또는 1.7.4 이상으로 업그레이드
🔧 검증 코드
버전이 1.6.1 이상이거나 1.7.4 이상이면 패치됨. 1.6.0 이하 또는 1.7.0~1.7.3은 취약
nginx -v 2>&1 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'