🇰🇷 한글 설명
NGINX Plus 및 NGINX Open Source의 ngx_http_ssl_module에서 ssl_verify_client 및 ssl_ocsp 지시문 설정 시 발생하는 취약점입니다. 인증되지 않은 공격자가 특정 조건의 요청을 전송하여 NGINX 워커 프로세스에서 heap-use-after-free 오류를 유발할 수 있으며, 이로 인해 데이터 수정 또는 프로세스 재시작이 발생할 수 있습니다.
💡 쉬운 설명
NGINX 웹 서버의 SSL 인증서 검증 기능에서 특정 설정 조합 시 메모리 오류가 발생할 수 있습니다. 공격자는 인증 없이 요청을 보내 서버 프로세스를 중단시킬 수 있습니다.
🇺🇸 원문 (English)
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_ssl_module module when the ssl_verify_client directive is set to "on" or "optional," and the ssl_ocsp directive is set to "on" or the leaf parameters are configured with a resolver. With this configuration, an unauthenticated attacker can send requests along with conditions beyond its control that may cause a heap-use-after-free error in the NGINX worker process. This vulnerability may result in limited modification of data or the NGINX worker process restarting.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
📍 영향받는 시스템
NGINX Plus 및 NGINX Open Source (EoTS 미도달 버전) - ssl_ocsp on + ssl_verify_client on/optional 설정된 환경
⚔️ 공격 벡터
인증되지 않은 공격자가 제어 불가능한 조건을 포함한 HTTPS 요청을 전송하여 워커 프로세스의 heap-use-after-free 오류 유발
🛡️ 대응 방법
NGINX를 최신 보안 패치 버전으로 업그레이드하거나 ssl_ocsp/ssl_verify_client 설정 검토 및 필요시 비활성화
🔧 검증 코드
NGINX 버전 확인 후 취약 설정(ssl_ocsp on + ssl_verify_client on/optional 동시 활성화)이 있는지 검사
nginx -v && grep -r 'ssl_ocsp\|ssl_verify_client' /etc/nginx/conf.d/ /etc/nginx/sites-enabled/ 2>/dev/null