🇰🇷 한글 설명
MariaDB Connector/R2DBC 1.4.1 미만 버전에서 암호화되지 않은 연결을 통해 평문 비밀번호 인증 플러그인이 사용될 수 있는 취약점이 발견되었습니다. 공격자가 중간자 공격(MitM)을 통해 암호화되지 않은 연결에서 인증 요청을 가로챌 경우 사용자의 비밀번호가 평문 상태로 노출될 수 있습니다.
💡 쉬운 설명
데이터를 주고받을 때 암호화를 강제하는 기능이 없어, 해커가 중간에서 통신을 가로채면 사용자의 비밀번호를 그대로 읽을 수 있는 문제입니다. 보안 연결이 설정되지 않은 상태에서 비밀번호가 노출될 위험이 있습니다.
🇺🇸 원문 (English)
MariaDB Connector/R2DBC is a non-blocking MariaDB and MySQL client implemented in Java. Prior to 1.4.1, org.mariadb:r2dbc-mariadb does not gate clear-text password authentication plugins on transport encryption because the AuthenticationPlugin interface has no capability for a plugin to require a secure connection. A hostile or man-in-the-middle MariaDB server can send an AuthSwitchRequest naming mysql_clear_password or dialog (PAM) over a plain-TCP unencrypted connection, and AuthenticationFlow permits ClearPasswordPluginFlow or PamPluginFlow to return the user's password as cleartext bytes on the wire. The disclosed credentials can subsequently be used to authenticate directly to the database server. This issue is fixed in version 1.4.1.
📍 영향받는 시스템
MariaDB Connector/R2DBC (org.mariadb:r2dbc-mariadb) 1.4.1 미만 버전
⚔️ 공격 벡터
중간자 공격(Man-in-the-Middle)을 통한 암호화되지 않은 TCP 연결에서의 인증 정보 탈취
🛡️ 대응 방법
MariaDB Connector/R2DBC를 1.4.1 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 r2dbc-mariadb의 버전이 1.4.1 미만인지 확인하십시오.
mvn dependency:list | grep 'r2dbc-mariadb'