🔍 CVE-2026-85708

7.5
CVSS Score
HIGH
2026-11-06
2026-11-06 21:17
✅ 완료

🇰🇷 한글 설명

Chartbrew는 데이터베이스와 API에 직접 연결해 차트를 만드는 오픈소스 웹 애플리케이션입니다. 5.2.3 이전 버전에서는 차트 공유 및 임베드 토큰이 CB_SECRET으로 서명되었으며, 저장소나 Docker Compose 기본값에 포함된 공개된 시크릿이 사용될 수 있어 비공개 차트 데이터가 인증 없이 노출될 수 있습니다.

💡 쉬운 설명

기본값이나 공개된 비밀 키를 사용하는 Chartbrew 설치본에서는 누구나 위조된 공유 토큰을 만들어 비공개 차트 데이터를 볼 수 있습니다. 차트 ID를 순차적으로 시도하는 것만으로도 다른 사용자의 데이터가 노출될 수 있습니다.

🇺🇸 원문 (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.3, Chart share and embed tokens were signed with CB_SECRET, including known or shipped-default values in stock source and repository Docker Compose installs. The vulnerable surface is chart share-token verification and filter-access routes for private charts. An attacker who knows the deployment's CB_SECRET targets a private chart that has been shared at least once so a share-policy row exists, then forges a Chart-subject token for that chart id. The known signing key permits valid Chart tokens, and the filter-access path accepts sequential integer ids without requiring a legitimate share link; token expiry and revocation are ineffective once the secret is known. The condition requires a known or default secret and an existing share-policy row. A bare container where CB_SECRET is undefined is outside this path, and a unique secret excludes it only while the value remains unknown and unpredictable. An unauthenticated attacker can enumerate integer ids and read arbitrary private chart data, including chartData, without possessing a legitimate share link. This issue is fixed in version 5.2.3.

📍 영향받는 시스템

Chartbrew 5.2.3 미만 버전 (기본 또는 알려진 CB_SECRET을 사용하는 설치본)

⚔️ 공격 벡터

알려진 CB_SECRET으로 Chart 주제의 토큰을 위조하고 정수 차트 ID를 열거하여 공유 링크 없이 비공개 차트 데이터(chartData 포함)를 읽음

🛡️ 대응 방법

Chartbrew를 5.2.3 이상으로 업그레이드하고 CB_SECRET을 무작위로 생성된 강력한 값으로 변경한 뒤, 노출되었을 수 있는 토큰과 공유 설정을 점검

🔧 검증 코드

설치된 Chartbrew 이미지/패키지 버전이 5.2.3 미만인지 확인하고, Compose 파일이나 .env에 CB_SECRET이 기본값 또는 짧고 예측 가능한 값으로 설정되어 있는지 확인합니다 (결과에 값이 보이면 교체 필요).

Shell / Script
docker images 2>/dev/null | grep -i chartbrew; dpkg -l 2>/dev/null | grep -i chartbrew; grep -rs 'CB_SECRET' ./docker-compose*.yml ./.env 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker