🇰🇷 한글 설명
F5 NGINX Kubernetes Ingress Controller(NIC)에서 ExternalAuth 정책 사용 시 인증 및 인가 우회 취약점이 존재합니다. 공격자가 X-Forwarded-Prefix 등 특정 HTTP 헤더를 조작하여 내부 인증 요청으로 전달함으로써, 인증되지 않은 상태로 보호된 경로에 접근할 수 있습니다.
💡 쉬운 설명
해커가 가짜 정보를 담은 특수 헤더를 보내 로그인 과정을 속이고 보안이 걸린 페이지에 몰래 들어갈 수 있는 문제입니다. 이는 시스템 전체가 아닌 데이터 통로를 통한 접근 권한 탈취에 해당합니다.
🇺🇸 원문 (English)
An authentication and authorization bypass vulnerability exists in F5 NGINX Kubernetes Ingress Controller (NIC) when configured with the `ExternalAuth` policy or Ingress external authentication. Client-supplied X-Forwarded-Prefix, X-Forwarded-URI, X-Original-URI, and X-Forwarded-Method routing and method headers are forwarded unsanitized into the internal authentication subrequest (handled by the NGINX auth_request directive). As a result, an unauthenticated, remote attacker may spoof request attributes evaluated by the external authentication provider.
Impact:
This vulnerability may allow remote attackers
unauthenticated
access to protected
paths. There is no control plane exposure; this is a data plane issue only.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
📍 영향받는 시스템
F5 NGINX Kubernetes Ingress Controller (ExternalAuth 또는 Ingress external authentication 설정 사용 시)
⚔️ 공격 벡터
조작된 HTTP 헤더(X-Forwarded-Prefix, X-Forwarded-URI 등)를 이용한 원격 인증 우회 공격
🛡️ 대응 방법
F5에서 제공하는 최신 보안 패치를 적용하거나, 외부 인증 시 전달되는 헤더에 대한 검증 로직을 강화해야 합니다.
🔧 검증 코드
설치된 NGINX 버전을 확인하고 해당 버전이 취약점이 해결된 패치 버전인지 제조사 보안 권고문을 통해 대조하십시오.
nginx -V 2>&1 | grep -i 'nginx'