🔍 CVE-2026-100623

8.8
CVSS Score
HIGH
2026-09-26
2026-09-30 18:18
✅ 완료

🇰🇷 한글 설명

Capgo 서비스에서 Supabase PostgREST를 통해 레거시 멤버십 테이블인 public.org_users가 직접 노출되는 취약점이 발견되었습니다. 조직 관리자 권한을 가진 인증된 사용자가 초대 절차나 권한 검증 과정을 우회하여 임의의 사용자를 해당 조직의 관리자로 직접 추가할 수 있습니다.

💡 쉬운 설명

조직의 관리자가 정해진 초대 절차를 거치지 않고도 아무나 관리자로 등록할 수 있는 보안 구멍이 있습니다. 이를 통해 권한이 없는 사용자가 조직의 데이터에 접근하거나 관리자 권한을 탈취할 수 있습니다.

🇺🇸 원문 (English)

Capgo (capgo.app) exposes the legacy membership table public.org_users directly through Supabase PostgREST. The table's row-level security policies "Allow org admin to insert" and "Allow org admin to update" only verify that the caller has admin rights in the target organization (public.check_min_rights('admin', ...)); they do not require a pending invitation in tmp_users, acceptance of an invite token via /private/accept_invitation, any action by the target user, or the membership/role-consistency and anti-escalation checks enforced by the RBAC role-binding path. As a result, an authenticated user who is an admin of an organization can INSERT or UPDATE org_users rows directly to add any existing public.users account as an active member of that organization with user_right="admin", bypassing the invitation and role-assignment workflow entirely. In testing, an account with no prior access to the organization or its apps could, after such a direct insert, read the organization and app and pass check_min_rights. All versions are affected and no patch was available at the time of publication.

📍 영향받는 시스템

Capgo (capgo.app) 모든 버전

⚔️ 공격 벡터

인증된 조직 관리자가 PostgREST를 통해 public.org_users 테이블에 직접 INSERT 또는 UPDATE 요청을 전송

🛡️ 대응 방법

Row-Level Security(RLS) 정책을 수정하여 초대 수락 여부 및 RBAC 역할 바인딩 검증 로직을 강제하고, 테이블 직접 노출을 제한해야 합니다.

🔧 검증 코드

명령어 실행 후 대상 사용자가 초대 절차 없이 즉시 해당 조직의 admin 권한을 획득하여 데이터 조회가 가능하다면 취약한 상태입니다.

Shell / Script
curl -X POST -H 'Authorization: Bearer <ADMIN_TOKEN>' -H 'Content-Type: application/json' -d '{"user_id": "<TARGET_USER_ID>", "user_right": "admin"}' https://<SUPABASE_URL>/rest/v1/org_users

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Security Verify Access