🇰🇷 한글 설명
NGINX Plus와 NGINX Open Source의 ngx_http_rewrite_module에서 정규표현식 캡처 그룹과 물음표를 포함한 치환 문자열 조합으로 인한 힙 버퍼 오버플로우 취약점입니다. 인증 없이 조작된 HTTP 요청으로 NGINX 워커 프로세스를 재시작시키거나, ASLR이 비활성화된 시스템에서 임의 코드 실행이 가능합니다.
💡 쉬운 설명
NGINX 웹 서버의 URL 재작성 기능에서 메모리 오류가 발생하는 문제입니다. 인터넷에서 누구나 특정 요청을 보내 서버를 멈추거나 제어할 수 있습니다.
🇺🇸 원문 (English)
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
📍 영향받는 시스템
NGINX Plus 및 NGINX Open Source (EoTS 미도달 버전 모두)
⚔️ 공격 벡터
조작된 HTTP 요청을 통해 rewrite 지시문의 PCRE 캡처 그룹 처리 시 버퍼 오버플로우 유발
🛡️ 대응 방법
최신 보안 패치가 적용된 NGINX 버전으로 즉시 업그레이드하고, 시스템에서 ASLR 활성화 확인
🔧 검증 코드
NGINX 버전이 표시됩니다. 배포된 보안 패치 버전과 비교하여 업데이트 필요 여부를 확인하세요.
nginx -v 2>&1 && dpkg -l nginx 2>/dev/null || rpm -qa nginx 2>/dev/null
🇰🇷 KISA(한국인터넷진흥원) 보안 권고
이 CVE에 대한 한국 공식 권고 (1건)
NGINX 제품 보안 업데이트 권고
P4
📅 2026-05-20 · sec_notice
F5 NGINX 제품에서 Heap-based Buffer Overflow 취약점이 발견되었습니다. NGINX Plus 및 Open Source 사용자는 취약점 악용을 방지하기 위해 최신 보안 버전으로 업데이트해야 합니다.