🇰🇷 한글 설명
Budibase 3.38.1 이전 버전에서 인증된 비빌더 사용자가 데이터소스 설정(호스트, 포트, 자격증명)을 수정할 수 있는 권한 검증 결함이 존재합니다. 이를 통해 공격자가 SSRF 공격으로 내부 서비스에 접근 가능합니다.
💡 쉬운 설명
Budibase 앱의 일반 사용자가 데이터베이스 연결 정보를 마음대로 변경할 수 있는 보안 허점이 있습니다. 공격자가 이를 악용하여 회사 내부 시스템에 불법 접근할 수 있습니다.
🇺🇸 원문 (English)
Budibase is an open-source low-code platform. Prior to 3.38.1, Budibase exposes a REST API for datasource management. The route PUT /api/datasources/:datasourceId is registered in the authorizedRoutes group with TABLE/READ permission. This is the same authorization level as the read endpoint (GET /api/datasources/:datasourceId). Every authenticated Budibase app user with the BASIC built-in role or higher carries TABLE/WRITE (and therefore TABLE/READ) permissions, and the datasource update controller performs no additional builder check. As a result, any authenticated non-builder app user can submit a PUT request to rewrite a datasource's config object — including the connection host, port, database credentials, or the base url of a REST datasource. Because no network-level SSRF protection is applied to SQL driver connections, redirecting a PostgreSQL/MySQL/MongoDB datasource to an internal IP address succeeds and the attacker can probe or interact with internal services on arbitrary ports. This vulnerability is fixed in 3.38.1.
📍 영향받는 시스템
Budibase < 3.38.1
⚔️ 공격 벡터
인증된 사용자가 PUT /api/datasources/:datasourceId 엔드포인트로 데이터소스 설정을 변조하여 내부 IP로 리다이렉트 후 SSRF 공격 수행
🛡️ 대응 방법
Budibase를 3.38.1 이상으로 즉시 업그레이드 및 데이터소스 수정 권한 검토
🔧 검증 코드
반환된 버전이 3.38.1 이상이면 안전, 미만이면 업그레이드 필요
curl -s http://localhost:3000/api/version 2>/dev/null | grep -oE '"version":"[0-9.]+"'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
Cisco Crosswork Network Controller