🇰🇷 한글 설명
Oracle MySQL 5.5.29 이전 및 MariaDB 여러 버전의 replication 코드에 SQL injection 취약점이 존재합니다. 원격 인증된 사용자가 binary log 관련 벡터를 통해 임의의 SQL 명령을 실행할 수 있으며, MySQL 5.5.29의 수정사항도 불완전할 수 있습니다.
💡 쉬운 설명
데이터베이스 로그 기능에서 보안 허점이 발견되어, 로그인한 사용자가 원치 않는 명령을 몰래 실행할 수 있습니다. 이를 통해 데이터 유출, 변조, 또는 무단 접근이 가능합니다.
🇺🇸 원문 (English)
Multiple SQL injection vulnerabilities in the replication code in Oracle MySQL possibly before 5.5.29, and MariaDB 5.1.x through 5.1.62, 5.2.x through 5.2.12, 5.3.x through 5.3.7, and 5.5.x through 5.5.25, allow remote authenticated users to execute arbitrary SQL commands via vectors related to the binary log. NOTE: as of 20130116, Oracle has not commented on claims from a downstream vendor that the fix in MySQL 5.5.29 is incomplete.
📍 영향받는 시스템
MySQL < 5.5.29, MariaDB 5.1.0-5.1.62, 5.2.0-5.2.12, 5.3.0-5.3.7, 5.5.0-5.5.25
⚔️ 공격 벡터
원격 인증된 사용자가 replication 및 binary log 기능을 통해 조작된 SQL injection 페이로드 전송
🛡️ 대응 방법
MySQL을 5.5.29 이상으로 업그레이드하거나 MariaDB를 패치된 버전으로 업데이트
🔧 검증 코드
출력된 MySQL/MariaDB 버전이 영향받는 범위를 벗어났는지 확인 (MySQL >= 5.5.29 또는 MariaDB 패치 버전)
mysql -V 2>/dev/null || dpkg -l 2>/dev/null | grep -iE '(mysql-server|mariadb-server)' | awk '{print $2,$3}'