🔍 CVE-2009-4484

7.5
CVSS Score
HIGH
2009-12-30
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

TaoCrypt의 CertDecoder::GetName 함수에서 발생하는 스택 기반 버퍼 오버플로우 취약점으로, SSL 연결 중 조작된 X.509 클라이언트 인증서를 전송하여 원격에서 임의 코드 실행 또는 서비스 거부를 유발할 수 있습니다. MySQL 5.0, 5.1, 5.5 초기 버전 등 다양한 제품에서 발견되었습니다.

💡 쉬운 설명

MySQL이 SSL을 통해 클라이언트 인증서를 받을 때 특수하게 조작된 인증서를 처리하면서 메모리 오버플로우가 발생합니다. 공격자가 원격으로 MySQL 서버를 완전히 제어하거나 충돌시킬 수 있습니다.

🇺🇸 원문 (English)

Multiple stack-based buffer overflows in the CertDecoder::GetName function in src/asn.cpp in TaoCrypt in yaSSL before 1.9.9, as used in mysqld in MySQL 5.0.x before 5.0.90, MySQL 5.1.x before 5.1.43, MySQL 5.5.x through 5.5.0-m2, and other products, allow remote attackers to execute arbitrary code or cause a denial of service (memory corruption and daemon crash) by establishing an SSL connection and sending an X.509 client certificate with a crafted name field, as demonstrated by mysql_overflow1.py and the vd_mysql5 module in VulnDisco Pack Professional 8.11. NOTE: this was originally reported for MySQL 5.0.51a.

📍 영향받는 시스템

MySQL 5.0.x(<5.0.90), MySQL 5.1.x(<5.1.43), MySQL 5.5.x(<=5.5.0-m2), yaSSL(<1.9.9)

⚔️ 공격 벡터

원격 공격자가 SSL 연결을 시작한 후 조작된 이름 필드를 가진 X.509 클라이언트 인증서를 전송

🛡️ 대응 방법

MySQL을 5.0.90, 5.1.43 이상 또는 5.5.x 최신 버전으로 업그레이드하여 패치 적용

🔧 검증 코드

출력된 버전이 5.0.90 미만, 5.1.43 미만, 또는 5.5.0-m2 이하이면 취약한 상태입니다

Shell / Script
mysql --version 2>/dev/null | awk '{print $5}'

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

MySQL