🇰🇷 한글 설명
Gitea의 사용자 조직 목록 API에서 인증된 제한된 계정에 대해 가시성 제한이 제대로 적용되지 않는 취약점이 발견되었습니다. 이로 인해 제한된 사용자가 특정 사용자의 공개 조직 멤버십을 나열하고, 숨겨져야 할 조직의 이름, 설명, 아바타 등의 메타데이터를 조회할 수 있습니다.
💡 쉬운 설명
권한이 제한된 사용자가 원래는 볼 수 없어야 하는 다른 조직의 상세 정보를 몰래 훔쳐볼 수 있는 문제입니다. 조직의 이름이나 설명 같은 민감한 정보가 노출될 위험이 있습니다.
🇺🇸 원문 (English)
Gitea's user organization-list API includes Limited-visibility organizations for authenticated restricted accounts without applying the visibility restriction enforced by the single-organization endpoint. A restricted user can list a known user's public organization memberships and retrieve limited organizations' names, descriptions, and avatars. This exposes organization metadata that should be hidden from the requesting account.
📍 영향받는 시스템
Gitea (취약한 버전)
⚔️ 공격 벡터
인증된 제한된 계정을 사용하여 조직 목록 API에 접근하여 가시성 제한을 우회함
🛡️ 대응 방법
Gitea를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과로 접근 권한이 없는 조직의 정보가 출력된다면 취약한 상태입니다.
curl -s -u 'user:password' https://gitea-instance.com/api/v1/user/orgs | grep -E 'name|description'