🇰🇷 한글 설명
Apache Tomcat 4.1.0~4.1.31, 5.5.0 버전에서 멀티스레드 동시성 문제로 인해 IP 제한 필터(RemoteAddrValve, RemoteHostValve, RemoteFilterValve)가 우회될 수 있습니다. 서로 다른 스레드에서 처리되는 동시 요청으로 인해 인스턴스 변수가 덮어써져 IP 기반 접근 제어가 무효화됩니다.
💡 쉬운 설명
Tomcat의 IP 차단 기능이 여러 요청을 동시에 처리할 때 제대로 작동하지 않는 문제입니다. 공격자가 IP 차단을 우회해 허가되지 않은 정보에 접근할 수 있습니다.
🇺🇸 원문 (English)
Apache Tomcat 5.5.0 and 4.1.0 through 4.1.31 allows remote attackers to bypass an IP address restriction and obtain sensitive information via a request that is processed concurrently with another request but in a different thread, leading to an instance-variable overwrite associated with a "synchronization problem" and lack of thread safety, and related to RemoteFilterValve, RemoteAddrValve, and RemoteHostValve.
📍 영향받는 시스템
Apache Tomcat 4.1.0~4.1.31, 5.5.0
⚔️ 공격 벡터
동시 요청을 이용한 멀티스레드 경합(race condition)을 통한 IP 제한 우회
🛡️ 대응 방법
Tomcat을 4.1.32 이상 또는 5.5.1 이상의 패치된 버전으로 업그레이드
🔧 검증 코드
첫 번째 명령으로 Tomcat 버전 정보를 확인하고, 버전이 4.1.0~4.1.31 또는 5.5.0이면 취약함. 두 번째 명령은 패키지 기반 설치 시 설치된 버전 확인
cat /opt/tomcat/RELEASE-NOTES 2>/dev/null | head -5 || dpkg -l 2>/dev/null | grep tomcat | awk '{print $2, $3}'