🇰🇷 한글 설명
MariaDB 서비스 재시작 시 특정 경로(/run/mysqld/wsrep-new-cluster)를 사용하는 취약점이 발견되었습니다. FILE 권한을 가진 데이터베이스 사용자가 해당 경로에 파일을 생성하여 서비스 재시작 시 공격자가 제어하는 환경 변수를 주입할 수 있습니다.
💡 쉬운 설명
데이터베이스 권한을 가진 해커가 시스템 설정 파일에 몰래 악성 코드를 심어 서비스가 다시 켜질 때 컴퓨터를 조종할 수 있는 문제입니다. 이를 통해 해커는 시스템의 중요한 설정을 마음대로 바꿀 수 있습니다.
🇺🇸 원문 (English)
MariaDB server is a community developed fork of MySQL server. From 10.6.1 until 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2, the mariadb.service unit used /run/mysqld/wsrep-new-cluster during the next service restart. A database user with FILE privilege and a secure-file-priv configuration permitting writes to /run/mysqld could create that file and inject attacker-controlled environment values into the restarted service. This issue is fixed in versions 10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, and 13.0.2.
📍 영향받는 시스템
MariaDB 10.6.1~10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 미만 버전
⚔️ 공격 벡터
FILE 권한을 가진 사용자가 /run/mysqld/ 경로에 조작된 파일을 생성하여 서비스 재시작 시 환경 변수 주입
🛡️ 대응 방법
MariaDB를 최신 보안 패치 버전(10.6.28, 10.11.19, 11.4.13, 11.8.9, 12.3.3, 13.0.2 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 취약한 범위 내에 있다면 즉시 업데이트가 필요합니다.
mariadb --version | grep -E '10.6\[0-9]|10.11\[0-9]|11.4\[0-9]|11.8\[0-9]|12.3\[0-9]|13.0\[0-9]'