🇰🇷 한글 설명
GitHub Enterprise Server의 보안 권고 패키지 조회 기능에서 SSRF 취약점이 발견되었습니다. 공격자는 이를 통해 내부 관리 서비스에 HTTP 요청을 보내고 응답 시간을 측정함으로써 서명 비밀값 및 개인 키와 같은 민감한 환경 변수 값을 유추할 수 있습니다.
💡 쉬운 설명
해커가 서버를 속여서 내부의 중요한 정보가 담긴 곳에 몰래 접근하게 만드는 취약점입니다. 응답이 오는 속도를 계산해 비밀번호나 암호 키 같은 중요한 정보를 알아낼 수 있습니다.
🇺🇸 원문 (English)
A Server-Side Request Forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed an attacker to cause the server to issue HTTP requests to internal services via the security advisories package lookup feature. By directing requests to an internal management service and measuring response timing, an attacker could infer the values of sensitive environment variables, including signing secrets and private keys. Exploitation required GitHub Packages to be enabled; on instances not running in private mode the vulnerability was exploitable without authentication, otherwise any authenticated user could exploit it. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21.1 and was fixed in versions 3.20.3, 3.19.7, 3.18.10, 3.17.16, and 3.16.19. This vulnerability was reported via the GitHub Bug Bounty program.
📍 영향받는 시스템
GitHub Enterprise Server 3.21.1 미만 모든 버전 (3.20.3, 3.19.7, 3.18.10, 3.17.16, 3.16.19 미만 버전 포함)
⚔️ 공격 벡터
보안 권고 패키지 조회 기능을 이용한 SSRF 공격 및 응답 시간 기반의 사이드 채널 분석
🛡️ 대응 방법
GitHub Enterprise Server를 수정된 버전(3.21.1, 3.20.3, 3.19.7, 3.18.10, 3.17.16, 3.16.19 이상)으로 업데이트하십시오.
🔧 검증 코드
명령어 결과에 보안 패치가 적용된 버전 번호가 출력되면 안전하며, 출력되지 않으면 취약할 수 있습니다.
curl -s http://<your-github-server-url>/api/v3/version | grep -E '"version": "(3.21.1|3.20.3|3.19.7|3.18.10|3.17.16|3.16.19)'