🇰🇷 한글 설명
nginx 1.3.9부터 1.4.0 버전의 ngx_http_parse_chunked 함수에서 정수 부호 오류로 인해 스택 버퍼 오버플로우가 발생합니다. 원격 공격자가 큰 청크 크기를 포함한 chunked Transfer-Encoding 요청을 전송하여 서비스 거부 또는 임의 코드 실행을 할 수 있습니다.
💡 쉬운 설명
nginx 웹 서버가 특정 버전에서 특수하게 조작된 인터넷 요청을 처리할 때 메모리 오류로 인해 서버가 충돌하거나 해킹될 수 있습니다. 영향받는 버전은 매우 오래되어 현재 대부분의 서버에서는 문제가 되지 않습니다.
🇺🇸 원문 (English)
The ngx_http_parse_chunked function in http/ngx_http_parse.c in nginx 1.3.9 through 1.4.0 allows remote attackers to cause a denial of service (crash) and execute arbitrary code via a chunked Transfer-Encoding request with a large chunk size, which triggers an integer signedness error and a stack-based buffer overflow.
📍 영향받는 시스템
nginx 1.3.9 ~ 1.4.0 버전
⚔️ 공격 벡터
HTTP chunked Transfer-Encoding 요청에 큰 청크 크기값을 포함하여 원격으로 전송
🛡️ 대응 방법
nginx를 1.4.1 이상으로 업그레이드하거나 공식 패치 적용
🔧 검증 코드
반환된 버전이 1.4.1 이상이면 안전, 1.3.9~1.4.0이면 긴급 업그레이드 필요
nginx -v 2>&1 | grep -oP 'nginx/\K[0-9.]+' && echo 'Version check complete'