🔍 CVE-2021-32637

10.0
CVSS Score
CRITICAL
2021-05-28
2026-06-17 03:53
✅ 완료

🇰🇷 한글 설명

Authelia를 nginx ngx_http_auth_request_module과 함께 사용하는 환경에서 발생하는 인증 우회 취약점입니다. 공격자가 조작된 HTTP 요청을 통해 인증 메커니즘을 통과할 수 있습니다.

💡 쉬운 설명

로그인 과정을 거쳐야 하는 웹사이트에 가짜 요청을 보내서 로그인 없이도 접속할 수 있게 만드는 보안 결함입니다. 인증 시스템이 잘못된 요청을 제대로 걸러내지 못해 발생합니다.

🇺🇸 원문 (English)

Authelia is a a single sign-on multi-factor portal for web apps. This affects uses who are using nginx ngx_http_auth_request_module with Authelia, it allows a malicious individual who crafts a malformed HTTP request to bypass the authentication mechanism. It additionally could theoretically affect other proxy servers, but all of the ones we officially support except nginx do not allow malformed URI paths. The problem is rectified entirely in v4.29.3. As this patch is relatively straightforward we can back port this to any version upon request. Alternatively we are supplying a git patch to 4.25.1 which should be relatively straightforward to apply to any version, the git patches for specific versions can be found in the references. The most relevant workaround is upgrading. You can also add a block which fails requests that contains a malformed URI in the internal location block.

📍 영향받는 시스템

Authelia (nginx ngx_http_auth_request_module 사용 환경, v4.29.3 미만 버전)

⚔️ 공격 벡터

조작된 URI 경로를 포함한 악의적인 HTTP 요청 전송

🛡️ 대응 방법

Authelia를 v4.29.3 이상으로 업그레이드하거나, 내부 location 블록에 잘못된 URI를 차단하는 설정 추가

🔧 검증 코드

출력된 태그 버전이 v4.29.3 이상인지 확인하여 취약점 해결 여부를 판단합니다.

Shell / Script
curl -s https://api.github.com/repos/authelia/authelia/releases/tags/v4.29.3 | grep -oP 'tag_name' || echo 'Check version manually'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Nginx