🔍 CVE-2026-119281

5.9
CVSS Score
MEDIUM
2026-10-29
2026-10-30 17:18
✅ 완료

🇰🇷 한글 설명

MariaDB Connector/J는 Java 애플리케이션을 MariaDB 및 MySQL 데이터베이스에 연결하는 드라이버입니다. 3.0.0부터 3.3.7, 3.4.5, 3.5.11 이전 버전에서는 결과 바이트를 UTF-8로 가정하면서 character_set_client 변경만 검사하고 character_set_results의 non-UTF-8 변경을 거부하지 않아, 악의적이거나 침해된 서버 또는 중간자 공격자가 문자셋 변경을 숨기거나 변경하여 애플리케이션 문자열과 실제 반환 바이트가 달라질 수 있습니다. 이는 3.3.7, 3.4.5, 3.5.11에서 수정되었습니다.

💡 쉬운 설명

데이터베이스 드라이버가 받은 데이터의 글자 인코딩을 잘못 해석할 수 있는 취약점입니다. 이로 인해 애플리케이션의 입력 검증이나 이스케이프 처리가 무력화될 수 있습니다.

🇺🇸 원문 (English)

MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. From 3.0.0 until 3.3.7, 3.4.5, and 3.5.11, the connector assumed result bytes were UTF-8 but guarded only changes to character_set_client. It did not reject non-UTF-8 character_set_results changes and relied on the server's global session_track_system_variables configuration to report character-set changes. A malicious or compromised server, or a machine-in-the-middle attacker, could suppress tracking or change the result charset so application strings differed from the returned bytes, potentially defeating application-side validation or escaping that depended on the decoded values. This issue is fixed in versions 3.3.7, 3.4.5, and 3.5.11.

📍 영향받는 시스템

MariaDB Connector/J 3.0.0~3.3.6, 3.4.0~3.4.4, 3.5.0~3.5.10 (수정 버전: 3.3.7, 3.4.5, 3.5.11 이상)

⚔️ 공격 벡터

공격자가 데이터베이스 서버를 장악하거나 네트워크 중간자 위치에서 character_set_results 변경을 숨기고 결과 문자셋을 조작하여 디코딩된 값을 왜곡합니다.

🛡️ 대응 방법

MariaDB Connector/J를 3.3.7, 3.4.5, 3.5.11 이상 버전으로 업그레이드하고 DB 연결 구간을 TLS로 보호합니다.

🔧 검증 코드

출력된 JAR 파일명의 버전이 3.3.7, 3.4.5, 3.5.11 미만이면 취약하며, 해당 이상이면 패치된 상태입니다.

Shell / Script
find / -name 'mariadb-java-client*.jar' 2>/dev/null -exec sh -c 'echo "$1"; unzip -p "$1" META-INF/MANIFEST.MF | grep -i version' _ {} \;

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

💻 영향받는 소프트웨어

IBM WebSphere Application Server