🔍 CVE-2025-5874

4.6
CVSS Score
MEDIUM
2025-06-09
2026-04-29 01:00
✅ 완료

🇰🇷 한글 설명

Redash 10.1.0/25.1.0까지의 버전에서 Python 데이터 소스의 getattr 핸들러를 통해 샌드박스 우회 취약점이 발견되었습니다. 공격 난이도가 높지만 공개된 악용 코드가 존재하며, 기본적으로 비활성화되어 있고 보안 위험으로 표시되어 있습니다.

💡 쉬운 설명

Redash에서 Python 코드를 실행할 수 있는 기능이 보안 규칙을 우회하도록 악용될 수 있습니다. 이 기능은 기본적으로 꺼져 있고 위험하다고 표시되어 있습니다.

🇺🇸 원문 (English)

A vulnerability was found in Redash up to 10.1.0/25.1.0. It has been rated as problematic. This issue affects the function run_query of the file /query_runner/python.py of the component getattr Handler. The manipulation leads to sandbox issue. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The vendor explains, that "[t]he Python data source is disabled by default and is clearly marked in our documentation as discouraged due to its security implications. Users who choose to enable it are doing so at their own risk, with full awareness that it bypasses standard safeguards."

📍 영향받는 시스템

Redash 버전 10.1.0 이하 및 25.1.0 이하 (Python 데이터 소스 활성화 시)

⚔️ 공격 벡터

Python 데이터 소스 활성화 후 getattr를 악용하여 제한된 실행 환경 우회

🛡️ 대응 방법

Python 데이터 소스를 비활성화하거나 최신 버전으로 업그레이드

🔧 검증 코드

결과에 'python' 항목이 있고 enabled=true면 취약점 대상이므로 즉시 비활성화 필요

Shell / Script
redash-cli query_runner list 2>/dev/null | grep -i python

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python