🇰🇷 한글 설명
MariaDB Connector/J의 특정 버전에서 allowLocalInfile 옵션이 비활성화되어 있더라도 서버가 보낸 특정 패킷을 처리할 때 로컬 파일을 전송하는 취약점이 발견되었습니다. 공격자가 중간자(MITM) 공격을 통해 조작된 패킷을 보내면 애플리케이션이 의도치 않게 로컬 파일을 서버로 전송할 수 있습니다. 이 문제는 2.7.14, 3.3.5, 3.4.3, 3.5.9 버전에서 수정되었습니다.
💡 쉬운 설명
데이터베이스 연결 프로그램이 보안 설정을 꺼두었음에도 불구하고, 나쁜 서버가 요청하면 내 컴퓨터의 파일을 몰래 보내버릴 수 있는 문제입니다. 신뢰할 수 없는 네트워크를 통해 데이터베이스에 접속할 때 발생할 수 있습니다.
🇺🇸 원문 (English)
MariaDB Connector/J is used to connect applications developed in Java to MariaDB and MySQL databases. Prior to 2.7.14, 3.3.5, 3.4.3, and 3.5.9, ClientMessage.readPacket processes a server-initiated LOCAL INFILE protocol packet 0xfb without enforcing allowLocalInfile=false. When an application sends a LOAD DATA LOCAL INFILE COM_QUERY, a rogue or man-in-the-middle server can echo the same filename and cause the connector to transmit that file despite the disabled option. The server cannot redirect the request to an arbitrary path and can receive only the exact file already selected by the application, so exploitation requires an application that actively loads sensitive data over an untrusted connection. This issue is fixed in versions 2.7.14, 3.3.5, 3.4.3, and 3.5.9.
📍 영향받는 시스템
MariaDB Connector/J 2.7.14, 3.3.5, 3.4.3, 3.5.9 미만 버전
⚔️ 공격 벡터
신뢰할 수 없는 연결을 통한 중간자(MITM) 공격 또는 악의적인 서버의 패킷 조작
🛡️ 대응 방법
MariaDB Connector/J를 최신 보안 패치 버전(2.7.14, 3.3.5, 3.4.3, 3.5.9 이상)으로 업데이트하십시오.
🔧 검증 코드
검색된 JAR 파일의 파일명을 확인하여 취약한 버전 범위에 해당하는지 체크합니다.
find / -name "mariadb-connector-java*.jar" 2>/dev/null
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
💻 영향받는 소프트웨어
IBM WebSphere Application Server