🇰🇷 한글 설명
MariaDB 10.4.7부터 10.4.11 버전의 mysql_install_db에서 권한 상승 취약점이 발견되었습니다. 심볼릭 링크 공격을 통해 mysql 사용자가 root 권한을 획득할 수 있으며, 이는 chown 및 chmod 명령어가 안전하지 않게 처리되기 때문입니다.
💡 쉬운 설명
해커가 가짜 연결 통로(심볼릭 링크)를 만들어 시스템의 중요한 파일을 조작함으로써 관리자 권한을 뺏을 수 있는 문제입니다. MariaDB 설치 과정 중 권한 설정 방식의 허점을 이용합니다.
🇺🇸 원문 (English)
mysql_install_db in MariaDB 10.4.7 through 10.4.11 allows privilege escalation from the mysql user account to root because chown and chmod are performed unsafely, as demonstrated by a symlink attack on a chmod 04755 of auth_pam_tool_dir/auth_pam_tool. NOTE: this does not affect the Oracle MySQL product, which implements mysql_install_db differently.
📍 영향받는 시스템
MariaDB 10.4.7 ~ 10.4.11
⚔️ 공격 벡터
심볼릭 링크를 이용한 권한 상승 공격 (Symlink Attack)
🛡️ 대응 방법
MariaDB를 10.4.12 이상의 보안 패치가 적용된 최신 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 취약한 버전 범위가 출력되면 해당 시스템은 보안 업데이트가 필요합니다.
mariadb --version | grep -E '10.4\.[7-9]|10.4\.1[0-1]'