🇰🇷 한글 설명
MyDumper의 MySQL C 클라이언트 라이브러리에서 LOAD LOCAL INFILE 쿼리를 통해 신뢰할 수 없는 MySQL 서버가 클라이언트 시스템의 임의의 파일을 읽을 수 있는 취약점입니다. MyDumper는 기본적으로 local infile 옵션이 활성화되어 있고 비활성화할 수 없어 민감한 정보 공개로 이어질 수 있습니다. 0.18.2-8 버전에서 수정되었습니다.
💡 쉬운 설명
MyDumper가 신뢰할 수 없는 MySQL 서버에 연결할 때, 그 서버가 클라이언트 컴퓨터의 중요한 파일들을 읽어낼 수 있는 문제입니다. 파일 읽기 기능을 끌 수 없도록 만들어져 있어서 보안이 떨어집니다.
🇺🇸 원문 (English)
MyDumper is a MySQL Logical Backup Tool. The MySQL C client library (libmysqlclient) allows authenticated remote actors to read arbitrary files from client systems via a crafted server response to LOAD LOCAL INFILE query, leading to sensitive information disclosure when clients connect to untrusted MySQL servers without explicitly disabling the local infile capability. Mydumper has the local infile option enabled by default and does not have an option to disable it. This can lead to an unexpected arbitrary file read if the Mydumper tool connects to an untrusted server. This vulnerability is fixed in 0.18.2-8.
📍 영향받는 시스템
MyDumper 0.18.2-8 미만의 모든 버전
⚔️ 공격 벡터
공격자가 조작된 MySQL 서버를 운영하고 MyDumper 클라이언트를 연결하도록 유도하여 LOAD LOCAL INFILE 명령으로 임의의 파일 읽기 수행
🛡️ 대응 방법
MyDumper를 0.18.2-8 이상으로 업그레이드하거나, 신뢰할 수 없는 MySQL 서버 연결 시 격리된 환경에서만 사용
🔧 검증 코드
표시되는 버전이 0.18.2-8 이상이면 안전, 그 미만이면 취약함
mydumper --version 2>/dev/null | head -1