🇰🇷 한글 설명
Apache Tomcat의 RemoteIpFilter를 사용할 때, 리버스 프록시를 통해 전달된 X-Forwarded-Proto 헤더가 https로 설정되어 있어도 세션 쿠키에 secure 속성이 누락되는 취약점입니다. 이로 인해 세션 쿠키가 암호화되지 않은 통신 채널을 통해 전송될 위험이 있습니다.
💡 쉬운 설명
보안이 강화된 연결(HTTPS)을 사용 중임에도 불구하고, 로그인 정보를 담은 쿠키가 암호화되지 않은 일반 연결로 유출될 수 있는 문제입니다. 해커가 중간에서 이 쿠키를 가로채면 사용자의 계정을 탈취할 수 있습니다.
🇺🇸 원문 (English)
When using the RemoteIpFilter with requests received from a reverse proxy via HTTP that include the X-Forwarded-Proto header set to https, session cookies created by Apache Tomcat 11.0.0-M1 to 11.0.0.-M2, 10.1.0-M1 to 10.1.5, 9.0.0-M1 to 9.0.71 and 8.5.0 to 8.5.85 did not include the secure attribute. This could result in the user agent transmitting the session cookie over an insecure channel.
Older, EOL versions may also be affected.
📍 영향받는 시스템
Apache Tomcat 11.0.0-M1 ~ 11.0.0-M2, 10.1.0-M1 ~ 10.1.5, 9.0.0-M1 ~ 9.0.71, 8.5.0 ~ 8.5.85 및 이전 EOL 버전
⚔️ 공격 벡터
네트워크 중간자 공격(Man-in-the-Middle)을 통해 암호화되지 않은 채로 전송되는 세션 쿠키 탈취
🛡️ 대응 방법
취약점이 해결된 최신 버전의 Apache Tomcat으로 업데이트하십시오.
🔧 검증 코드
설치된 Tomcat의 버전을 확인하여 취약한 버전 범위에 포함되는지 대조하십시오.
java -version 2>&1 | grep -i 'version' || echo 'Check Tomcat version via package manager or installation directory'