🔍 CVE-2021-32791

5.9
CVSS Score
MEDIUM
2021-07-26
2026-06-17 03:53
✅ 완료

🇰🇷 한글 설명

Apache 2.x HTTP 서버용 인증 모듈인 mod_auth_openidc 2.4.9 미만 버전에서 AES GCM 암호화 시 정적 IV와 AAD를 사용합니다. 이는 동일한 키를 재사용할 때 발생하는 암호학적 취약점을 유발하여 보안 위협이 될 수 있습니다.

💡 쉬운 설명

암호화할 때 매번 바뀌어야 하는 무작위 값이 고정되어 있어, 암호화된 데이터를 분석하면 원래 내용을 알아낼 위험이 있습니다. 마치 매번 같은 비밀번호를 사용하는 것과 같아 보안이 취약해집니다.

🇺🇸 원문 (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 mod_auth_openidc before version 2.4.9, the AES GCM encryption in mod_auth_openidc uses a static IV and AAD. It is important to fix because this creates a static nonce and since aes-gcm is a stream cipher, this can lead to known cryptographic issues, since the same key is being reused. From 2.4.9 onwards this has been patched to use dynamic values through usage of cjose AES encryption routines.

📍 영향받는 시스템

mod_auth_openidc version < 2.4.9

⚔️ 공격 벡터

동일한 키와 정적 IV를 사용하는 암호화 패턴을 분석하여 암호화된 데이터를 해독하거나 조작함

🛡️ 대응 방법

mod_auth_openidc를 2.4.9 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 결과에서 mod_auth_openidc의 버전이 2.4.9 미만인지 확인

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server