🔍 CVE-2025-11578

7.2
CVSS Score
HIGH
2025-11-10
2026-10-07 21:10
✅ 완료

🇰🇷 한글 설명

GitHub Enterprise Server에서 인증된 엔터프라이즈 관리자가 pre-receive hook 환경의 심볼릭 링크 탈출 취약점을 악용하여 루트 SSH 권한을 획득할 수 있는 권한 상승 취약점이 발견되었습니다. 공격자는 악성 저장소와 환경을 구성하여 시스템 바이너리를 교체하고, 루트 사용자의 authorized_keys에 자신의 SSH 키를 추가함으로써 서버의 루트 권한을 탈취할 수 있습니다.

💡 쉬운 설명

관리자 권한을 가진 사용자가 시스템의 보안 규칙을 우회하여 서버 전체를 제어할 수 있는 가장 높은 권한(root)을 얻을 수 있는 문제입니다. 이를 통해 공격자는 서버의 모든 파일에 접근하고 수정할 수 있게 됩니다.

🇺🇸 원문 (English)

A privilege escalation vulnerability was identified in GitHub Enterprise Server that allowed an authenticated Enterprise admin to gain root SSH access to the appliance by exploiting a symlink escape in pre-receive hook environments. By crafting a malicious repository and environment, an attacker could replace system binaries during hook cleanup and execute a payload that adds their own SSH key to the root user’s authorized keys—thereby granting themselves root SSH access to the server. To exploit this vulnerability, the attacker needed to have enterprise admin privileges. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.19, and was fixed in versions 3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2. This vulnerability was reported via the GitHub Bug Bounty program.

📍 영향받는 시스템

3.19 미만 버전의 모든 GitHub Enterprise Server

⚔️ 공격 벡터

악성 저장소 및 환경을 이용한 pre-receive hook의 심볼릭 링크 탈출 및 시스템 바이너리 교체

🛡️ 대응 방법

GitHub Enterprise Server를 수정된 버전(3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2 이상)으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 태그가 보안 패치가 적용된 수정 버전(예: 3.18.2 등)보다 낮은지 확인하십시오.

Shell / Script
curl -s https://api.github.com/repos/github/enterprise-server/releases | grep -E 'tag_name'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git