🔍 CVE-2021-21335

5.3
CVSS Score
MEDIUM
2021-03-08
2026-06-17 03:35
✅ 완료

🇰🇷 한글 설명

nginx용 SPNEGO HTTP 인증 모듈 1.1.1 이전 버전에서 잘못된 형식의 사용자 이름을 사용하여 기본 인증을 우회할 수 있는 취약점이 발견되었습니다. 이 문제는 기본 인증을 활성화한 spnego-http-auth-nginx-module 사용자에게 영향을 미칩니다.

💡 쉬운 설명

로그인 과정에서 특수한 이름을 입력하면 아이디와 비밀번호 없이도 서버에 접속할 수 있는 보안 구멍이 있습니다. 인증 절차를 건너뛰고 허가되지 않은 사용자가 시스템에 들어올 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

In the SPNEGO HTTP Authentication Module for nginx (spnego-http-auth-nginx-module) before version 1.1.1 basic Authentication can be bypassed using a malformed username. This affects users of spnego-http-auth-nginx-module that have enabled basic authentication. This is fixed in version 1.1.1 of spnego-http-auth-nginx-module. As a workaround, one may disable basic authentication.

📍 영향받는 시스템

spnego-http-auth-nginx-module 1.1.1 미만 버전

⚔️ 공격 벡터

조작된 사용자 이름을 입력하여 기본 인증(Basic Authentication) 절차를 우회함

🛡️ 대응 방법

spnego-http-auth-nginx-module을 1.1.1 버전 이상으로 업데이트하거나 기본 인증 기능을 비활성화함

🔧 검증 코드

출력된 모듈 정보에서 버전이 1.1.1 미만인지 확인합니다.

Shell / Script
nginx -V 2>&1 | grep -i 'spnego-http-auth-nginx-module'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

💻 영향받는 소프트웨어

Nginx