🇰🇷 한글 설명
OpenSSL의 RSA 복호화 구현에서 타이밍 기반 사이드 채널 취약점이 발견되었습니다. 공격자는 Bleichenbacher 스타일의 공격을 통해 네트워크를 통해 평문을 복구할 수 있으며, 이는 PKCS#1 v1.5, RSA-OEAP, RSASVE 등 모든 RSA 패딩 모드에 영향을 미칩니다.
💡 쉬운 설명
암호문을 해독할 때 걸리는 시간 차이를 이용해 비밀 정보를 알아내는 공격 방식입니다. 공격자가 수많은 가짜 메시지를 보내 서버의 반응 시간을 측정하면 원래의 암호 내용을 알아낼 수 있습니다.
🇺🇸 원문 (English)
A timing based side channel exists in the OpenSSL RSA Decryption implementation
which could be sufficient to recover a plaintext across a network in a
Bleichenbacher style attack. To achieve a successful decryption an attacker
would have to be able to send a very large number of trial messages for
decryption. The vulnerability affects all RSA padding modes: PKCS#1 v1.5,
RSA-OEAP and RSASVE.
For example, in a TLS connection, RSA is commonly used by a client to send an
encrypted pre-master secret to the server. An attacker that had observed a
genuine connection between a client and a server could use this flaw to send
trial messages to the server and record the time taken to process them. After a
sufficiently large number of messages the attacker could recover the pre-master
secret used for the original connection and thus be able to decrypt the
application data sent over that connection.
📍 영향받는 시스템
OpenSSL의 RSA 복호화 기능을 사용하는 모든 버전 (PKCS#1 v1.5, RSA-OEAP, RSASVE 포함)
⚔️ 공격 벡터
네트워크를 통한 타이밍 기반 사이드 채널 공격 (Bleichenbacher style attack)
🛡️ 대응 방법
OpenSSL을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 OpenSSL 버전을 확인하여 CVE-2022-4304가 해결된 패치 버전인지 확인합니다.