🔍 CVE-2026-58489

0.0
CVSS Score
UNKNOWN
2026-07-13
2026-07-14 16:42
✅ 완료

🇰🇷 한글 설명

HedgeDoc 1.11.0 미만 버전에서 GitHub Gist 내보내기 과정 중 OAuth2 state 값이 제대로 검증되지 않는 취약점이 발견되었습니다. 공격자는 조작된 콜백 URL을 통해 피해자의 로그인 세션을 악용하여, 피해자의 비공개 노트를 공격자가 제어하는 GitHub Gist로 직접 내보내도록 유도할 수 있습니다.

💡 쉬운 설명

공격자가 보낸 특수한 링크를 클릭하면, 사용자가 작성 중인 비밀스러운 메모가 공격자의 계정으로 몰래 복사될 수 있는 보안 결함입니다. 이는 인증 과정에서 '본인이 맞는지' 확인하는 절차가 미흡하여 발생합니다.

🇺🇸 원문 (English)

HedgeDoc is an open source, real-time collaborative markdown notes application. Prior to 1.11.0, the GitHub Gist export flow created an OAuth2  state  value but only checked that it was present rather than validating it against the value expected for the user's session. Because the state was not properly validated, an attacker could forge a callback URL containing their own valid GitHub OAuth code. When processing the callback, HedgeDoc used the victim's logged-in session to select which note to export, but the attacker's authorization code to determine which GitHub account received it. As a result, a logged-in victim who clicked a crafted link could export their own private, protected, or limited note directly into a Gist controlled by the attacker. This issue has been fixed in version 1.11.0.

📍 영향받는 시스템

HedgeDoc 1.11.0 미만 모든 버전

⚔️ 공격 벡터

조작된 GitHub OAuth 콜백 URL을 통한 CSRF(Cross-Site Request Forgery) 공격

🛡️ 대응 방법

HedgeDoc를 최신 버전인 1.11.0 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 1.11.0 이상의 버전 번호가 출력되면 취약점이 해결된 상태입니다.

Shell / Script
curl -s http://<HedgeDoc_IP>:<Port>/version | grep -E '1.11.0'

💻 영향받는 소프트웨어

Git