🇰🇷 한글 설명
Chartbrew 5.2.2 미만 버전의 runQuery() 구현체에서 발생하는 취약점으로, 읽기 전용 데이터베이스 접근을 강제하기 위한 SQL 키워드 차단 목록이 불충분합니다. AI 기능에 접근 권한이 있는 인증된 사용자가 차단 목록에 없는 위험한 SQL 문이나 함수를 제출하여 데이터베이스 권한 변경, 파일 노출, 명령 실행 등을 수행할 수 있습니다.
💡 쉬운 설명
차트 생성 도구인 Chartbrew에서 AI 기능을 사용할 때, 보안 필터가 충분하지 않아 위험한 명령어를 입력할 수 있는 문제입니다. 이를 통해 해커가 데이터베이스를 조작하거나 시스템에 명령을 내릴 수 있습니다.
🇺🇸 원문 (English)
Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. Prior to 5.2.2, Chartbrew's runQuery() implementation in server/modules/ai/orchestrator/tools/runQuery.js attempts to enforce read-only database access with a blocklist containing only seven SQL keywords. An authenticated user with AI feature access can submit dangerous statements or database functions that are absent from the read-only keyword blocklist, causing them to execute without SQL injection or keyword-obfuscation techniques. Depending on the database engine, configuration, and database-user privileges, this can expose or write files, access internal network resources, change database privileges, execute commands, or alter data. This issue is fixed in version 5.2.2.
📍 영향받는 시스템
Chartbrew 5.2.2 미만 모든 버전
⚔️ 공격 벡터
AI 기능에 접근 가능한 인증된 사용자가 차단 목록에 없는 SQL 함수나 문장을 입력하여 공격
🛡️ 대응 방법
Chartbrew를 최신 버전인 5.2.2 이상으로 업데이트
🔧 검증 코드
설치된 Chartbrew의 버전을 확인하여 5.2.2 미만인지 확인합니다.
npm list chartbrew || echo 'Check version via package.json or application UI'
💻 영향받는 소프트웨어
IBM WebSphere Application Server