🇰🇷 한글 설명
Apache Tomcat의 JK Connector 모듈(mod_jk) 1.2.0-1.2.26 버전에서 AJP 프로토콜의 Content-Length 헤더 처리 방식이 부적절하여, 특정 HTTP 요청 패턴(Content-Length는 있지만 POST 데이터가 없거나 빠른 연속 요청)을 통해 민감한 정보가 노출될 수 있는 취약점입니다.
💡 쉬운 설명
웹 서버의 특정 부품(mod_jk)이 요청 크기 정보를 잘못 처리하여, 다른 사용자의 데이터가 실수로 노출될 수 있습니다. 특히 빠른 요청이나 비정상적인 요청 패턴에서 발생합니다.
🇺🇸 원문 (English)
The JK Connector (aka mod_jk) 1.2.0 through 1.2.26 in Apache Tomcat allows remote attackers to obtain sensitive information via an arbitrary request from an HTTP client, in opportunistic circumstances involving (1) a request from a different client that included a Content-Length header but no POST data or (2) a rapid series of requests, related to noncompliance with the AJP protocol's requirements for requests containing Content-Length headers.
📍 영향받는 시스템
Apache Tomcat JK Connector (mod_jk) 버전 1.2.0 ~ 1.2.26
⚔️ 공격 벡터
Content-Length 헤더는 포함하되 POST 본문 없는 요청 또는 빠른 연속 요청을 통해 메모리의 이전 데이터 접근
🛡️ 대응 방법
mod_jk를 1.2.27 이상으로 업그레이드하거나 AJP 커넥터를 비활성화
🔧 검증 코드
mod_jk가 설치되어 있으면 활성화된 파일과 설정을 확인하고, 설치되지 않았으면 'not found'라는 메시지 확인
grep -i 'mod_jk\|jk.*version' /etc/apache2/mods-enabled/* /etc/apache2/conf.d/* 2>/dev/null || echo 'mod_jk not found'