🇰🇷 한글 설명
Apache Superset의 입력값 검증 미흡으로 인해 인증된 공격자가 local_infile 기능이 활성화된 MariaDB 연결을 생성할 수 있는 취약점입니다. 서버와 클라이언트 설정이 모두 허용된 경우, 공격자는 SQL 명령을 통해 서버의 파일을 읽어 데이터베이스 테이블에 삽입할 수 있습니다.
💡 쉬운 설명
해커가 권한을 가진 상태에서 데이터베이스 설정을 조작하여, 웹 서버 안에 있는 중요한 파일을 몰래 훔쳐갈 수 있는 문제입니다. 서버의 파일을 데이터베이스로 옮겨 담는 방식으로 정보를 유출합니다.
🇺🇸 원문 (English)
Improper Input Validation vulnerability in Apache Superset, allows for an authenticated attacker to create a MariaDB connection with local_infile enabled. If both the MariaDB server (off by default) and the local mysql client on the web server are set to allow for local infile, it's possible for the attacker to execute a specific MySQL/MariaDB SQL command that is able to read files from the server and insert their content on a MariaDB database table.This issue affects Apache Superset: before 3.1.3 and version 4.0.0
Users are recommended to upgrade to version 4.0.1 or 3.1.3, which fixes the issue.
📍 영향받는 시스템
Apache Superset 3.1.3 미만 버전 및 4.0.0 버전
⚔️ 공격 벡터
인증된 사용자가 local_infile가 활성화된 MariaDB 연결을 생성하고 특정 SQL 명령을 실행하여 파일 읽기 수행
🛡️ 대응 방법
Apache Superset를 3.1.3 또는 4.0.1 이상의 버전으로 업그레이드하십시오.
🔧 검증 코드
출력된 버전이 3.1.3 또는 4.0.1보다 낮은지 확인하여 취약 여부를 판단합니다.
pip show apache-superset | grep Version