🔍 CVE-2023-6129

6.5
CVSS Score
MEDIUM
2024-01-09
2026-10-14 23:17
✅ 완료

🇰🇷 한글 설명

OpenSSL의 POLY1305 MAC 구현에서 PowerPC CPU의 벡터 레지스터 복원 순서 오류로 내부 상태가 손상될 수 있습니다. CHACHA20-POLY1305 AEAD 알고리즘을 사용하는 TLS 1.2/1.3이 주로 영향받으며, 악의적인 클라이언트가 이 암호를 강제하여 서버 상태를 손상시킬 수 있습니다.

💡 쉬운 설명

OpenSSL의 암호화 함수가 메모리 정보를 잘못 정렬하여 응용 프로그램이 잘못된 결과를 계산하거나 충돌할 수 있습니다. 특정 PowerPC 프로세서와 HTTPS 연결에서만 발생합니다.

🇺🇸 원문 (English)

Issue summary: The POLY1305 MAC (message authentication code) implementation contains a bug that might corrupt the internal state of applications running on PowerPC CPU based platforms if the CPU provides vector instructions. Impact summary: If an attacker can influence whether the POLY1305 MAC algorithm is used, the application state might be corrupted with various application dependent consequences. The POLY1305 MAC (message authentication code) implementation in OpenSSL for PowerPC CPUs restores the contents of vector registers in a different order than they are saved. Thus the contents of some of these vector registers are corrupted when returning to the caller. The vulnerable code is used only on newer PowerPC processors supporting the PowerISA 2.07 instructions. The consequences of this kind of internal application state corruption can be various - from no consequences, if the calling application does not depend on the contents of non-volatile XMM registers at all, to the worst consequences, where the attacker could get complete control of the application process. However unless the compiler uses the vector registers for storing pointers, the most likely consequence, if any, would be an incorrect result of some application dependent calculations or a crash leading to a denial of service. The POLY1305 MAC algorithm is most frequently used as part of the CHACHA20-POLY1305 AEAD (authenticated encryption with associated data) algorithm. The most common usage of this AEAD cipher is with TLS protocol versions 1.2 and 1.3. If this cipher is enabled on the server a malicious client can influence whether this AEAD cipher is used. This implies that TLS server applications using OpenSSL can be potentially impacted. However we are currently not aware of any concrete application that would be affected by this issue therefore we consider this a Low severity security issue.

📍 영향받는 시스템

PowerPC CPU 기반 시스템에서 CHACHA20-POLY1305 지원 OpenSSL 라이브러리

⚔️ 공격 벡터

TLS 서버에 악의적인 클라이언트가 CHACHA20-POLY1305 암호 선택을 강제하여 서버 내부 상태 손상 유발

🛡️ 대응 방법

OpenSSL을 최신 보안 패치 버전으로 업그레이드 또는 PowerPC 시스템에서 CHACHA20-POLY1305 암호 제한

🔧 검증 코드

OpenSSL 버전 확인 후 POLY1305 기호가 있으면 영향받는 코드 포함, 최신 패치 버전과 비교하여 취약점 존재 여부 판단

Shell / Script
openssl version && nm /usr/lib/libcrypto.so 2>/dev/null | grep -i poly1305

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

OpenSSL