🇰🇷 한글 설명
Apache HTTP Server 2.0.x 및 2.2.x 버전에서 HTTP 요청의 Method 헤더를 "413 Request Entity Too Large" 오류 메시지에 그대로 반영하지 않아 XSS 공격에 취약합니다. 잘못된 Content-length 값을 포함한 HTTP 요청으로 이를 트리거할 수 있습니다.
💡 쉬운 설명
웹 서버가 요청 오류 메시지에 사용자 입력을 검증하지 않고 그대로 표시하여 악의적인 코드가 실행될 수 있습니다. 특정 형식의 요청을 보내면 서버의 오류 페이지에 악성 스크립트를 삽입할 수 있습니다.
🇺🇸 원문 (English)
Apache HTTP Server 2.0.x and 2.2.x does not sanitize the HTTP Method specifier header from an HTTP request when it is reflected back in a "413 Request Entity Too Large" error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated via an HTTP request containing an invalid Content-length value, a similar issue to CVE-2006-3918.
📍 영향받는 시스템
Apache HTTP Server 2.0.x, 2.2.x (패치 적용 전)
⚔️ 공격 벡터
잘못된 Content-length 헤더와 함께 특수 문자를 포함한 HTTP Method 헤더를 전송
🛡️ 대응 방법
Apache HTTP Server를 최신 버전으로 업그레이드하거나 보안 패치 적용
🔧 검증 코드
Apache 버전이 2.0.x 또는 2.2.x인 경우 취약 상태이며, 최신 2.4.x 버전으로 업그레이드 필요
apache2ctl -v 2>/dev/null | grep -i 'server version' || httpd -v 2>/dev/null | grep -i 'server version'