🇰🇷 한글 설명
MariaDB 서버에서 big5 문자셋을 사용하는 텍스트 프로토콜 환경 시 SQL 인젝션 취약점이 발견되었습니다. mysql_real_escape_string() 함수를 사용하여 입력을 검증하더라도 적절한 검증이 이루어지지 않은 사용자 입력값이 포함될 경우 공격이 가능합니다.
💡 쉬운 설명
데이터베이스를 보호하는 보안 장치가 특정 언어 설정(big5)에서 제대로 작동하지 않아 발생하는 문제입니다. 해커가 특수 문자를 이용해 데이터베이스를 조작하거나 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
MariaDB server is a community developed fork of MySQL server. In versions 3.3.18 and 3.4.8, an application that was taking non-validated user input, escaping it with mysql_real_escape_string() and sending it to the database using text protocol and big5 character set was vulnerable to SQL injections, even though mysql_real_escape_string() was supposed to prevent them. This issue has been patched in versions 3.3.19 and 3.4.9.
📍 영향받는 시스템
MariaDB versions 3.3.18 and 3.4.8
⚔️ 공격 벡터
big5 문자셋을 사용하는 텍스트 프로토콜을 통해 검증되지 않은 사용자 입력값을 전달하여 SQL 인젝션 수행
🛡️ 대응 방법
MariaDB를 버전 3.3.19 또는 3.4.9 이상으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 3.3.18 또는 3.4.8 버전이 출력되면 취약한 버전이 설치된 상태입니다.
mariadb --version | grep -E '3.3.18|3.4.8'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server