🇰🇷 한글 설명
Apache Druid에서 JDBC를 통해 다른 데이터베이스 시스템의 데이터를 읽을 수 있는 기능이 있습니다. MySQL JDBC 드라이버의 특정 속성을 악용할 경우, 공격자가 제어하는 악성 MySQL 서버를 통해 Druid 서버 프로세스 내에서 임의의 코드를 실행할 수 있습니다. 이 문제는 Apache Druid 0.20.2 버전에서 해결되었습니다.
💡 쉬운 설명
해커가 만든 가짜 데이터베이스에 연결하도록 유도하여, 서버 컴퓨터를 마음대로 조종할 수 있는 보안 취약점입니다. 데이터베이스 연결 설정을 악용해 악성 프로그램을 실행시키는 방식입니다.
🇺🇸 원문 (English)
Apache Druid allows users to read data from other database systems using JDBC. This functionality is to allow trusted users with the proper permissions to set up lookups or submit ingestion tasks. The MySQL JDBC driver supports certain properties, which, if left unmitigated, can allow an attacker to execute arbitrary code from a hacker-controlled malicious MySQL server within Druid server processes. This issue was addressed in Apache Druid 0.20.2
📍 영향받는 시스템
Apache Druid 0.20.2 미만 버전
⚔️ 공격 벡터
악성 MySQL 서버로의 JDBC 연결을 통한 원격 코드 실행 (RCE)
🛡️ 대응 방법
Apache Druid를 0.20.2 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 0.20.2보다 낮은지 확인하여 취약 여부를 판단합니다.
curl -s http://<druid-host>:<port>/status | grep -E 'version'