🇰🇷 한글 설명
Apache Tomcat 5.5.0~5.5.29, 6.0.0~6.0.26 버전에서 BASIC/DIGEST 인증 요청 시 응답 헤더의 realm 필드를 통해 서버의 호스트명이나 IP 주소가 노출되는 정보 공개 취약점입니다. 원격 공격자가 이 정보를 수집하여 추가 공격을 시도할 수 있습니다.
💡 쉬운 설명
웹 서버가 로그인 확인 시 실수로 자신의 실제 주소(호스트명/IP)를 공개합니다. 공격자가 이 정보로 더 정교한 공격을 준비할 수 있습니다.
🇺🇸 원문 (English)
Apache Tomcat 5.5.0 through 5.5.29 and 6.0.0 through 6.0.26 might allow remote attackers to discover the server's hostname or IP address by sending a request for a resource that requires (1) BASIC or (2) DIGEST authentication, and then reading the realm field in the WWW-Authenticate header in the reply.
📍 영향받는 시스템
Apache Tomcat 5.5.0~5.5.29, 6.0.0~6.0.26
⚔️ 공격 벡터
인증이 필요한 웹 리소스에 HTTP 요청을 보내어 응답 헤더의 WWW-Authenticate 필드에서 realm 값을 읽고 서버 정보 추출
🛡️ 대응 방법
Apache Tomcat을 5.5.30 이상 또는 6.0.27 이상의 최신 버전으로 업그레이드
🔧 검증 코드
출력된 버전이 5.5.30 미만 또는 6.0.27 미만이면 취약점 존재, 이상 버전이면 패치됨
cat /usr/local/tomcat/RELEASE-NOTES 2>/dev/null | grep -oP 'version \K[0-9]+\.[0-9]+\.[0-9]+' | head -1