🇰🇷 한글 설명
wolfSSL의 wolfSSL_OCSP_resp_find_status 함수에서 OCSP CertID 일련번호 길이 혼동 취약점이 발견되었습니다. 일련번호의 길이가 동일한지 확인하지 않고 비교하기 때문에, 특정 인증서의 일련번호가 다른 인증서의 일련번호 앞부분과 일치할 경우 잘못된 폐기 상태를 반환할 수 있습니다.
💡 쉬운 설명
인증서가 유효한지 확인하는 과정에서 번호의 앞부분만 맞으면 다른 인증서로 착각하는 오류가 있습니다. 이로 인해 폐기된 인증서가 정상인 것처럼 속이거나 그 반대의 상황이 발생할 수 있습니다.
🇺🇸 원문 (English)
OCSP CertID serial-number length-confusion in wolfSSL_OCSP_resp_find_status allows a same-issuer SingleResponse whose serial is a prefix of the target serial to be reported as the revocation status of a different certificate. The lookup compared serial-number bytes without first requiring the two serial numbers to be of equal length, so a SingleResponse for one certificate (same issuer) whose serial is a prefix of the target's serial would match, returning the wrong certificate's status. The fix requires the serial lengths to be equal before comparing the serial bytes.
📍 영향받는 시스템
wolfSSL 라이브러리 (wolfSSL_OCSP_resp_find_status 함수 사용 버전)
⚔️ 공격 벡터
동일한 발행자의 인증서 중 타겟 인증서의 일련번호를 접두사로 가지는 OCSP 응답을 전달하여 잘못된 상태 정보를 유도
🛡️ 대응 방법
일련번호 비교 전 두 일련번호의 길이가 동일한지 확인하도록 wolfSSL 라이브러리를 최신 패치 버전으로 업데이트
🔧 검증 코드
현재 설치된 wolfSSL의 버전을 확인하여 취약점이 해결된 패치 버전인지 제조사 보안 권고안과 대조하여 확인
wolfssl_version_check_command_placeholder