kcve.ai취약점 정보 · 내 자산 확인

CVE-2023-0286 X.400 address type confusion in X.509 GeneralName

X.400 주소 형식 혼동 X.509 일반Name

설명

X.509 GeneralName 내에서의 X.400 주소 처리와 관련된 유형 혼동 취약점이 있습니다. X.400 주소는 ASN1_STRING으로 구문 분석되었지만 GENERAL_NAME에 대한 공개 구조 정의는 x400Address 필드의 유형을 ASN1_TYPE으로 잘못 지정했습니다. 이 필드는 이후 OpenSSL 함수 GENERAL_NAME_cmp에 의해 ASN1_TYPE로 해석된다. ASN1_STRING. CRL 검사가 활성화되면 (즉, 애플리케이션이 X509_V_FLAG_CRL_CHECK 플래그), 이 취약점은 공격자가 memcmp 호출에 임의 포인터를 전달하여 메모리 내용을 읽거나 서비스 거부를 수행할 수 있도록 합니다. 대부분의 경우, 공격자는 인증서 체인과 CRL을 모두 제공해야 하며 둘 중 어느 것도 유효한 서명이 필요하지 않습니다. 공격자가 이러한 입력 중 하나만 제어하면 다른 입력은 이미 X.400 주소를 CRL 배포 지점으로 포함해야 하는데, 이는 흔하지 않습니다. 따라서 이 취약점은 네트워크에서 CRL을 검색하기 위한 자체 기능을 구현한 애플리케이션에만 영향을 미칠 가능성이 큽니다.

원문 보기

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.

영향 받는 제품 제품 1개

  • OpenSSL

    OpenSSL

    해결 버전 있음

    영향 받는 버전

    • 3.0.0 이상 3.0.8 미만
    • 1.1.1 이상 1.1.1t 미만
    • 1.0.2 이상 1.0.2zg 미만

    해결 버전

    • 3.0.8 이상
    • 1.1.1t 이상
    • 1.0.2zg 이상

참고 자료 7건

‹ 목록

점검 지원 범위 문의

도입 문의