🔍 CVE-2021-2307

6.1
CVSS Score
MEDIUM
2021-04-22
2026-06-17 03:49
✅ 완료

🇰🇷 한글 설명

Oracle MySQL Server의 패키징 구성 요소에서 발생하는 취약점입니다. 공격자가 인프라에 로그인한 상태에서 다른 사용자의 상호작용을 유도하여 MySQL 서버의 데이터에 무단으로 접근하거나 데이터를 수정, 삭제할 수 있습니다.

💡 쉬운 설명

해커가 직접 서버를 공격하는 것이 아니라, 서버를 사용하는 다른 사람이 실수하도록 유도하여 데이터에 접근하는 방식입니다. 이를 통해 중요한 정보를 훔치거나 데이터를 마음대로 바꿀 위험이 있습니다.

🇺🇸 원문 (English)

Vulnerability in the MySQL Server product of Oracle MySQL (component: Server: Packaging). Supported versions that are affected are 5.7.33 and prior and 8.0.23 and prior. Easily exploitable vulnerability allows unauthenticated attacker with logon to the infrastructure where MySQL Server executes to compromise MySQL Server. Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in unauthorized access to critical data or complete access to all MySQL Server accessible data as well as unauthorized update, insert or delete access to some of MySQL Server accessible data. CVSS 3.1 Base Score 6.1 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N).

📍 영향받는 시스템

Oracle MySQL Server 5.7.33 및 이전 버전, 8.0.23 및 이전 버전

⚔️ 공격 벡터

인프라에 로그인된 공격자가 다른 사용자의 상호작용(Human Interaction)을 유도하여 실행

🛡️ 대응 방법

MySQL Server를 최신 보안 패치가 적용된 버전(5.7.34 이상 또는 8.0.24 이상)으로 업데이트하십시오.

🔧 검증 코드

출력 결과가 'Vulnerable'이면 취약한 버전이며, 'Safe'이면 안전한 버전입니다.

Shell / Script
mysql --version | grep -E '5.7\.[0-9]+|8.0\.[0-9]+' | awk '{print $NF}' | awk -F. '{if ($3 <= 33 && $1 == 5) print "Vulnerable"; else if ($3 <= 23 && $1 == 8) print "Vulnerable"; else print "Safe"}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL