🔍 CVE-2022-23739

9.8
CVSS Score
CRITICAL
2023-01-17
2026-06-17 04:30
✅ 완료

🇰🇷 한글 설명

GitHub Enterprise Server의 GraphQL API에서 권한 부여 오류로 인해 권한 상승 취약점이 발견되었습니다. 이 취약점을 통해 조직에 설치된 GitHub App이 부여된 권한과 관계없이 사용자 및 조직 전체 프로젝트와 같은 조직 수준의 리소스에 접근하고 수정할 수 있습니다.

💡 쉬운 설명

설치된 앱이 원래 허용된 권한보다 훨씬 더 많은 권한을 가져가서 조직의 중요한 정보를 마음대로 바꾸거나 볼 수 있는 문제입니다. 다만, 개별 저장소(Repository) 내부의 파일이나 이슈 등에는 영향을 주지 않습니다.

🇺🇸 원문 (English)

An incorrect authorization vulnerability was identified in GitHub Enterprise Server, allowing for escalation of privileges in GraphQL API requests from GitHub Apps. This vulnerability allowed an app installed on an organization to gain access to and modify most organization-level resources that are not tied to a repository regardless of granted permissions, such as users and organization-wide projects. Resources associated with repositories were not impacted, such as repository file content, repository-specific projects, issues, or pull requests. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.7.1 and was fixed in versions 3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.

📍 영향받는 시스템

GitHub Enterprise Server 3.7.1 미만 모든 버전 (3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1 미만 버전)

⚔️ 공격 벡터

조직에 설치된 GitHub App을 통한 GraphQL API 요청을 이용한 권한 상승 공격

🛡️ 대응 방법

GitHub Enterprise Server를 수정 버전(3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1 이상)으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 취약점이 해결된 최소 버전(3.3.16, 3.4.11, 3.5.8, 3.6.4, 3.7.1) 이상인지 확인합니다.

Shell / Script
curl -s http://<GITHUB_ENTERPRISE_URL>/api/v3/version | grep -E '"version": "(3.3.16|3.4.11|3.5.8|3.6.4|3.7.1|[3-7]\.[0-9]\.[0-9]+)"'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Spring for GraphQL