🔍 CVE-2026-34182

9.1
CVSS Score
CRITICAL
2026-06-09
2026-07-23 08:10
✅ 완료

🇰🇷 한글 설명

OpenSSL의 Cryptographic Message Services(CMS)는 AuthEnvelopedData 컨테이너의 암호 및 태그 길이 필드에 대한 입력 검증이 부족하여 심각한 취약점이 발생합니다. 공격자는 이를 통해 콘텐츠 암호화 키(CEK)와 동등한 기능을 획득하거나 메시지 무결성 검증을 우회할 수 있습니다.

💡 쉬운 설명

암호화된 메시지의 검증 과정을 조작하여 해커가 내용을 읽거나 변조할 수 있는 구멍이 발견되었습니다. OpenSSL 라이브러리를 사용하는 시스템은 이 공격으로 인해 암호화가 무력화될 위험이 있습니다.

🇺🇸 원문 (English)

Issue Summary: Cryptographic Message Services (CMS) processing fails to perform sufficient input validation on the cipher and tag length fields of AuthEnvelopedData containers, leading to various potential compromises. Impact Summary: Attackers making use of these vulnerabilities may achieve key-equivalent functionality for a given CMS recipient and/or bypass integrity validation for a given message. In one use case, an attacker may send a CMS message containing AuthEnvelopedData with the cipher specified as a non-AEAD cipher. OpenSSL erroneously allows this selection, and attempts to decrypt and validate the message. An on-path attacker who captures one legitimate AES-GCM AuthEnvelopedData addressed to the victim can re-emit it with the recipientInfos set left byte-for-byte intact, so the victim's private key still unwraps the genuine CEK (the content-encryption key), but with the inner OID rewritten to AES-256-OFB (Output Feedback Mode, an unauthenticated keystream mode) and with an attacker-chosen IV and ciphertext. The victim initializes AES-256-OFB under the real CEK, never consults the MAC field, and CMS_decrypt() returns success. If the application under attack responds to the attacker with any indicator showing success or failure of the decryption effort, it is possible for the attacker to use this as an oracle to obtain key equivalent functionality for the CEK used for the chosen recipient of the message. In another use case, an attacker can reduce the tag length of the chosen AEAD cipher for a given AuthEnvelopedData container to be a single byte long, allowing an attacker to brute force CMS decryption, producing an integrity bypass for applications that trust CMS_decrypt() to reject modified content. The FIPS modules are not affected by this issue.

📍 영향받는 시스템

OpenSSL (FIPS 모듈 제외)

⚔️ 공격 벡터

공격자가 중간자 공격을 통해 AuthEnvelopedData 메시지의 암호 모드나 태그 길이를 조작하여 무결성 검증을 우회하거나 키 추론 오라클을 구성합니다.

🛡️ 대응 방법

OpenSSL을 최신 안정 버전으로 업그레이드하여 패치를 적용하고, FIPS 모드를 사용하는 경우 영향을 받지 않음을 확인합니다.

🔧 검증 코드

출력된 버전이 최신 패치된 버전인지 확인하여 취약점이 해결되었는지 판단합니다.

Shell / Script
openssl version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

OpenSSL
🇰🇷 KISA(한국인터넷진흥원) 보안 권고 이 CVE에 대한 한국 공식 권고 (1건)
OpenSSL 제품 보안 업데이트 권고 P4
📅 2026-06-17 · sec_notice
OpenSSL 제품에서 무결성 검증 미흡 및 메모리 할당 제어 미흡 취약점이 발견되었습니다. 해당 버전의 OpenSSL을 사용하는 사용자는 보안 위협 방지를 위해 최신 버전으로 업데이트가 필요합니다.
KISA 원문 →