🇰🇷 한글 설명
Apache Tomcat의 쿠키 값 처리에서 큰따옴표(\\
💡 쉬운 설명
Tomcat 웹 서버가 쿠키 데이터의 특수 문자를 제대로 보호하지 않아 로그인 정보가 노출될 수 있습니다. 특수 문자를 조작하면 다른 사용자의 세션을 가로챌 수 있습니다.
🇺🇸 원문 (English)
Apache Tomcat 6.0.0 through 6.0.14, 5.5.0 through 5.5.25, and 4.1.0 through 4.1.36 does not properly handle (1) double quote (") characters or (2) %5C (encoded backslash) sequences in a cookie value, which might cause sensitive information such as session IDs to be leaked to remote attackers and enable session hijacking attacks. NOTE: this issue exists because of an incomplete fix for CVE-2007-3385.
📍 영향받는 시스템
Apache Tomcat 4.1.0-4.1.36, 5.5.0-5.5.25, 6.0.0-6.0.14
⚔️ 공격 벡터
조작된 쿠키 값(특수 문자 포함)을 서버에 전송하여 세션 ID를 클라이언트 응답에 평문으로 노출시키도록 유도
🛡️ 대응 방법
Tomcat 업그레이드: 4.1.37 이상, 5.5.26 이상, 6.0.15 이상으로 패치 적용
🔧 검증 코드
출력된 Tomcat 버전이 4.1.37 미만, 5.5.26 미만, 6.0.15 미만이면 취약함 (예: tomcat6-6.0.14는 취약)
dpkg -l 2>/dev/null | grep tomcat || rpm -qa 2>/dev/null | grep -i tomcat || find / -name 'catalina.jar' 2>/dev/null