🇰🇷 한글 설명
MariaDB의 SST(State Snapshot Transfer) 기능 중 기부자 노드가 조인어 노드로부터 받은 매개변수를 명령줄에 삽입할 때 부적절한 검증으로 인해 취약점이 발생합니다. 이로 인해 악의적인 조인어 노드가 mariabackup SST 방법을 통해 기부자 노드에서 임의의 셸 명령어를 실행할 수 있습니다.
💡 쉬운 설명
MariaDB 서버가 다른 서버와 데이터를 동기화할 때, 외부에서 받은 데이터를 제대로 확인하지 않아 해커가 서버를 조종할 수 있는 구멍이 있습니다. 이 구멍을 통해 해커가 서버에 원하는 명령을 마음대로 실행할 수 있습니다.
🇺🇸 원문 (English)
MariaDB server is a community developed fork of MySQL server. From versions 10.6.1 to before 10.6.26, 10.11.1 to before 10.11.17, 11.4.1 to before 11.4.11, 11.8.1 to before 11.8.7, and 12.3.1, during the SST the donor node is interpolating parameters that the joiner sent into the command line. Not all parameters were properly validated which could allow a malicious joiner to execute arbitrary shell commands on the donor side via the mariabackup SST method. This issue has been patched in versions 10.6.26, 10.11.17, 11.4.11, 11.8.7, and 12.3.2.
📍 영향받는 시스템
MariaDB 10.6.1-10.6.25, 10.11.1-10.11.16, 11.4.1-11.4.10, 11.8.1-11.8.6, 12.3.1
⚔️ 공격 벡터
악성 조인어 노드가 SST 프로세스 중 매개변수를 조작하여 기부자 노드에서 임의 코드 실행
🛡️ 대응 방법
해당 버전에서 10.6.26, 10.11.17, 11.4.11, 11.8.7, 12.3.2 이상으로 업그레이드
🔧 검증 코드
출력된 버전 번호가 취약한 범위(예: 10.6.1 이상 10.6.25 미만)에 해당하면 패치 필요
mariadb --version 2>/dev/null || mysql --version 2>/dev/null