🔍 CVE-2026-100612

7.2
CVSS Score
HIGH
2026-09-26
2026-09-30 21:16
✅ 완료

🇰🇷 한글 설명

Capgo(버전 12.261.0 이하)의 public.sso_providers 테이블에 대한 접근 제어 수정이 불완전하여 발생하는 취약점입니다. 공격자가 org_admin 권한을 이용해 provider_id를 조작함으로써 조직 소유자의 계정을 탈취하고 권한을 상승시킬 수 있습니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 인증 시스템의 설정 중 일부를 몰래 바꿔서, 자신의 계정을 조직의 최고 관리자 계정으로 연결할 수 있는 보안 결함입니다. 이를 통해 원래 주인이 계정에 접속하지 못하게 만들고 모든 권한을 뺏을 수 있습니다.

🇺🇸 원문 (English)

Capgo (capgo.app) through version 12.261.0 contains an incomplete access-control fix for the public.sso_providers table. Migration 20260826100000_sso_providers_block_direct_active_insert.sql installs a BEFORE UPDATE guard (enforce_sso_provider_client_update_guard()) that freezes only the dns_verified_at, domain, status and enforce_sso columns; provider_id (as well as metadata_url and attribute_mapping) is left writable. Because the table is granted ALL to the anon and authenticated roles with no column-level restriction, and PostgreSQL row-level security policies such as allow_org_admins_update_sso_providers constrain only which row may be updated and not which columns, a user holding the org_admin tier permission org.update_settings can PATCH provider_id over PostgREST to an identity provider under their control. Since provider_id is the trust anchor binding an email domain to an authorized IdP, the attacker can then authenticate through their own IdP while asserting the org owner's email; the server-side provider match succeeds and the merge routine attaches the attacker's SSO identity to the existing owner account, nulls its password, and deletes its other identities and sessions. This results in vertical privilege escalation from org_admin to org owner/super_admin, account takeover, and lockout of the legitimate owner. Exploitation requires that the target organization has an active SSO provider configured and that the attacker already holds org_admin in that organization. No patched version is available.

📍 영향받는 시스템

Capgo (capgo.app) version 12.261.0 and below

⚔️ 공격 벡터

PostgREST를 통해 org_admin 권한으로 provider_id 컬럼을 조작하여 인증 공급자(IdP)를 공격자 제어 하로 변경

🛡️ 대응 방법

해당 취약점이 해결된 패치 버전이 출시될 때까지 해당 테이블에 대한 컬럼 단위 권한 제한(Column-level security)을 적용하거나 접근을 차단해야 함

🔧 검증 코드

출력된 버전이 12.261.0 이하인지 확인하여 취약 여부를 판단합니다.

Shell / Script
curl -s https://api.capgo.app/version | grep -E '12\.[0-9]{3}'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Verify Identity Access