🔍 CVE-2026-34966

7.6
CVSS Score
HIGH
2026-08-05
2026-10-08 16:17
✅ 완료

🇰🇷 한글 설명

Gitea 1.27.0 미만 버전에서 인증된 공격자가 SSRF 보호를 우회할 수 있는 취약점이 발견되었습니다. 마이그레이션 및 OAuth 아바타 코드 경로의 HTTP fetch 작업 취약점을 악용하여 내부 서비스에 접근하거나 데이터베이스 자격 증명이 포함된 설정 파일을 탈취할 수 있습니다.

💡 쉬운 설명

로그인 권한이 있는 사용자가 서버를 속여 내부 네트워크나 중요한 설정 파일에 접근할 수 있는 보안 결함입니다. 공격자는 이를 통해 서버의 비밀번호나 내부 시스템 정보를 몰래 빼낼 수 있습니다.

🇺🇸 원문 (English)

Gitea prior to 1.27.0 contains a server-side request forgery vulnerability that allows authenticated attackers to bypass SSRF protections by exploiting HTTP fetch operations in migration and OAuth avatar code paths that use Go's default http.Get without a custom DialContext. Attackers can supply arbitrary URLs through release asset download URLs, pull-request patch URLs, or OAuth avatar endpoints to reach internal services, cloud instance-metadata endpoints, or read local files such as the application configuration containing database credentials and signing secrets, with exfiltrated content persisted as migration release assets for later retrieval.

📍 영향받는 시스템

Gitea versions prior to 1.27.0

⚔️ 공격 벡터

마이그레이션 자산 다운로드 URL, PR 패치 URL 또는 OAuth 아바타 엔드포인트를 통한 임의 URL 주입

🛡️ 대응 방법

Gitea를 1.27.0 버전 이상으로 즉시 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 1.27.0 미만인 경우 해당 취약점에 노출된 상태입니다.

Shell / Script
curl -s http://localhost:3000/api/version | grep -E '"version": "1\.[0-2][0-6]\.'

📊 CVSS Vector String

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