🔍 CVE-2020-28912

7.0
CVSS Score
HIGH
2020-12-24
2026-06-17 03:10
✅ 완료

🇰🇷 한글 설명

Windows 환경에서 MariaDB가 명명된 파이프(Named Pipes)를 통해 로컬 클라이언트와 연결될 때, 잘못된 보안 설명자로 인해 중간자 공격(MitM)이 발생할 수 있습니다. 권한이 없는 사용자가 서버에서 코드를 실행할 수 있다면 연결을 가로채 데이터를 탈취하거나 사용자를 대신해 SQL 명령을 실행할 수 있습니다.

💡 쉬운 설명

컴퓨터 내부에서 데이터가 지나가는 통로의 보안 설정이 잘못되어, 해커가 중간에서 몰래 데이터를 훔쳐보거나 가짜 명령을 내릴 수 있는 문제입니다. 마치 비밀 통로에 도청 장치를 설치하여 주고받는 대화를 모두 가로채는 것과 같습니다.

🇺🇸 원문 (English)

With MariaDB running on Windows, when local clients connect to the server over named pipes, it's possible for an unprivileged user with an ability to run code on the server machine to intercept the named pipe connection and act as a man-in-the-middle, gaining access to all the data passed between the client and the server, and getting the ability to run SQL commands on behalf of the connected user. This occurs because of an incorrect security descriptor. This affects MariaDB Server before 10.1.48, 10.2.x before 10.2.35, 10.3.x before 10.3.26, 10.4.x before 10.4.16, and 10.5.x before 10.5.7. NOTE: this issue exists because certain details of the MariaDB CVE-2019-2503 fix did not comprehensively address attack variants against MariaDB. This situation is specific to MariaDB, and thus CVE-2020-28912 does NOT apply to other vendors that were originally affected by CVE-2019-2503.

📍 영향받는 시스템

MariaDB Server 10.1.48 미만, 10.2.x < 10.2.35, 10.3.x < 10.3.26, 10.4.x < 10.4.16, 10.5.x < 10.5.7

⚔️ 공격 벡터

로컬 서버 내에서 권한이 있는 사용자가 명명된 파이프(Named Pipe) 연결을 가로채는 중간자 공격(Man-in-the-Middle)

🛡️ 대응 방법

MariaDB를 보안 패치가 적용된 최신 버전(10.1.48, 10.2.35, 10.3.26, 10.4.16, 10.5.7 이상)으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 취약한 버전 범위에 포함되는지 확인하십시오.

Shell / Script
mariadb --version | grep -E '10.1\.[0-9]+|10.2\.[0-9]+|10.3\.[0-9]+|10.4\.[0-9]+|10.5\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MariaDB