🔍 CVE-2026-78433

5.9
CVSS Score
MEDIUM
2026-10-14
2026-10-18 14:16
✅ 완료

🇰🇷 한글 설명

Gitea의 웹 첨부파일 핸들러가 2026년 1월 16일 이전에 생성된 첨부파일에 대해 저장소 소유권 확인을 건너뛰는 취약점입니다. 공격자가 비공개 첨부파일의 UUID를 알고 있다면, 공개 저장소의 경로를 통해 해당 파일을 요청하여 내용을 탈취할 수 있습니다.

💡 쉬운 설명

비밀번호가 걸린 파일이라도 파일의 고유 주소(ID)만 알면 누구나 볼 수 있는 보안 구멍이 발견되었습니다. 이를 통해 공개되지 말아야 할 중요한 문서나 파일이 유출될 수 있습니다.

🇺🇸 원문 (English)

Gitea's web attachment handler skips its cross-repository ownership check for attachments created before 16 January 2026 and checks permissions against the repository named in the request URL instead. An unauthenticated attacker who knows a private attachment's UUID can request it through a public repository's attachment path and retrieve its contents. This can expose issue and pull request attachments or release assets; the random attachment UUID must already be known to the attacker.

📍 영향받는 시스템

Gitea (2026년 1월 16일 이전 생성된 첨부파일을 포함하는 모든 버전)

⚔️ 공격 벡터

비공개 첨부파일의 UUID를 입수한 공격자가 공개 저장소의 경로를 이용해 직접 파일 요청

🛡️ 대응 방법

Gitea를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

비공개 파일의 UUID를 사용하여 요청했을 때 HTTP 200 응답이 오면 취약한 상태이며, 404 또는 403이 오면 안전한 상태입니다.

Shell / Script
curl -I -s https://<gitea-url>/<public-repo>/attachments/<known-private-uuid> | grep -q '200 OK' && echo 'Vulnerable' || echo 'Not Vulnerable'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git