🔍 CVE-2021-39191

4.7
CVSS Score
MEDIUM
2021-09-03
2026-06-17 04:03
✅ 완료

🇰🇷 한글 설명

Apache 2.x HTTP 서버용 인증 모듈인 mod_auth_openidc의 2.4.9.4 미만 버전에서 오픈 리다이렉트 취약점이 발견되었습니다. 공격자가 target_link_uri 파라미터에 조작된 URL을 전달하여 사용자를 악성 사이트로 유도할 수 있습니다.

💡 쉬운 설명

인증 모듈의 설정 오류를 이용해 사용자를 원래 가려던 사이트가 아닌 가짜 사이트로 몰래 이동시키는 공격입니다. 이를 통해 사용자의 개인정보를 탈취하거나 피싱 공격을 수행할 수 있습니다.

🇺🇸 원문 (English)

mod_auth_openidc is an authentication/authorization module for the Apache 2.x HTTP server that functions as an OpenID Connect Relying Party, authenticating users against an OpenID Connect Provider. In versions prior to 2.4.9.4, the 3rd-party init SSO functionality of mod_auth_openidc was reported to be vulnerable to an open redirect attack by supplying a crafted URL in the `target_link_uri` parameter. A patch in version 2.4.9.4 made it so that the `OIDCRedirectURLsAllowed` setting must be applied to the `target_link_uri` parameter. There are no known workarounds aside from upgrading to a patched version.

📍 영향받는 시스템

mod_auth_openidc versions prior to 2.4.9.4

⚔️ 공격 벡터

target_link_uri 파라미터에 조작된 외부 URL을 삽입하여 리다이렉트 유도

🛡️ 대응 방법

mod_auth_openidc를 2.4.9.4 이상의 버전으로 업그레이드하거나 OIDCRedirectURLsAllowed 설정을 적용

🔧 검증 코드

설치된 모듈 확인 후 패키지 버전을 확인하여 2.4.9.4 미만인지 체크

Shell / Script
apache2 -M | grep mod_auth_openidc && dpkg -l | grep mod-auth-openidc

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server