🔍 CVE-2023-0286

7.4
CVSS Score
HIGH
2023-02-08
2026-10-14 20:17
✅ 완료

🇰🇷 한글 설명

X.509 GeneralName 내의 X.400 주소 처리 과정에서 발생하는 타입 혼동(Type Confusion) 취약점입니다. CRL 확인 기능이 활성화된 경우, 공격자가 임의의 포인터를 전달하여 메모리 내용을 읽거나 서비스 거부(DoS)를 유발할 수 있습니다.

💡 쉬운 설명

데이터의 형식을 잘못 해석하여 발생하는 오류로, 공격자가 시스템의 메모리 정보를 훔쳐보거나 프로그램을 강제로 종료시킬 수 있습니다. 주로 인증서 검증 과정에서 보안 설정이 특정 조건일 때 발생합니다.

🇺🇸 원문 (English)

There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most cases, the attack requires the attacker to provide both the certificate chain and CRL, neither of which need to have a valid signature. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon. As such, this vulnerability is most likely to only affect applications which have implemented their own functionality for retrieving CRLs over a network.

📍 영향받는 시스템

OpenSSL 3.0.0 ~ 3.0.7 버전

⚔️ 공격 벡터

조작된 인증서 체인과 CRL을 함께 제공하여 메모리 비교 함수에 임의의 포인터를 전달함

🛡️ 대응 방법

OpenSSL을 3.0.8 이상 버전으로 업데이트하거나 보안 패치가 적용된 최신 버전으로 교체

🔧 검증 코드

출력된 버전이 3.0.7 이하인지 확인하여 취약 여부를 판단함

Shell / Script
openssl version

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

OpenSSL