🔍 CVE-2026-59774

9.8
CVSS Score
CRITICAL
2026-10-14
2026-10-15 04:18
✅ 완료

🇰🇷 한글 설명

Gitea의 Org-mode 마크업 렌더러가 INCLUDE 지시문을 처리할 때 서버 측 파일 접근을 제한하지 않는 취약점이 발견되었습니다. 인증되지 않은 공격자가 공개 저장소를 이용해 Gitea 서비스 계정의 파일을 읽을 수 있으며, app.ini와 내부 토큰이 유출될 경우 Git 훅을 수정하여 원격 명령을 실행할 수 있습니다.

💡 쉬운 설명

해커가 특수한 문법을 사용하여 서버에 저장된 중요한 설정 파일과 비밀번호를 몰래 훔쳐볼 수 있는 문제입니다. 이 정보를 이용하면 해커가 서버를 직접 조종하여 악성 명령을 내릴 수도 있습니다.

🇺🇸 원문 (English)

Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.

📍 영향받는 시스템

Gitea (Org-mode 마크업 렌더러를 사용하는 버전)

⚔️ 공격 벡터

공개 저장소의 마크업 파일에 INCLUDE 지시문을 삽입하여 서버 내부 파일에 접근

🛡️ 대응 방법

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

🔧 검증 코드

출력된 Gitea 버전을 확인하여 취약점이 해결된 최신 버전인지 대조하십시오.

Shell / Script
gitea --version 2>/dev/null || echo 'Gitea not installed'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Log Server