🔍 CVE-2017-3305

5.3
CVSS Score
MEDIUM
2017-04-24
2026-05-13 00:24
✅ 완료

🇰🇷 한글 설명

MySQL 서버의 C API 컴포넌트에서 보안 매개변수 검증 순서 오류로 인해 발생하는 취약점입니다. 낮은 권한의 공격자가 네트워크를 통해 중간자 공격으로 사용자 인증을 탈취하여 데이터베이스의 민감한 정보에 무단 접근할 수 있습니다.

💡 쉬운 설명

MySQL 데이터베이스의 로그인 인증 과정에서 보안 검사 순서가 잘못되어, 공격자가 네트워크상에서 사용자의 로그인을 가로채고 가짜로 위장할 수 있습니다. 이를 통해 데이터베이스의 중요한 정보를 도용할 수 있습니다.

🇺🇸 원문 (English)

Vulnerability in the MySQL Server component of Oracle MySQL (subcomponent: Server: C API). Supported versions that are affected are 5.5.55 and earlier and 5.6.35 and earlier. Difficult to exploit vulnerability allows low privileged attacker with network access via multiple protocols to compromise MySQL Server. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Server accessible data. CVSS 3.0 Base Score 5.3 (Confidentiality impacts). CVSS Vector: (CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N). NOTE: the previous information is from the April 2017 CPU. Oracle has not commented on third-party claims that this issue allows man-in-the-middle attackers to hijack the authentication of users by leveraging incorrect ordering of security parameter verification in a client, aka, "The Riddle".

📍 영향받는 시스템

MySQL Server 5.5.55 이하, 5.6.35 이하

⚔️ 공격 벡터

네트워크를 통한 중간자 공격(MITM)으로 클라이언트-서버 인증 과정 탈취

🛡️ 대응 방법

MySQL을 5.5.56 이상 또는 5.6.36 이상으로 업그레이드

🔧 검증 코드

VULNERABLE이 출력되면 취약한 버전, 출력 없으면 안전한 버전입니다.

Shell / Script
mysql --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' | awk -F. '{if(($1==5 && $2==5 && $3<=55) || ($1==5 && $2==6 && $3<=35)) print "VULNERABLE"}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL