🇰🇷 한글 설명
Discourse 오픈소스 토론 플랫폼에서 iframe src 경로 탐색 방어 로직의 결함이 발견되었습니다. 디코딩된 점(.) 세그먼트 이후의 백슬래시(\)를 경로 구분자로 처리하지 않아, 관리자가 허용한 경로를 우회하여 의도하지 않은 외부 콘텐츠를 로드할 수 있습니다.
💡 쉬운 설명
웹사이트 내에 안전한 창을 띄울 때, 공격자가 특수 문자를 이용해 허용되지 않은 위험한 사이트를 몰래 불러올 수 있는 취약점입니다. 관리자가 설정한 보안 규칙을 교묘하게 속여서 외부 사이트를 화면에 표시할 수 있습니다.
🇺🇸 원문 (English)
Discourse is an open-source discussion platform. Prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0, the iframe src traversal guard did not treat literal backslashes as path separators after decoded dot segments. A crafted source could therefore pass an allowed_iframes subpath check while browser URL normalization moved the iframe outside the intended allowed path. The resulting iframe could load content from a location that the administrator did not allow. This issue is fixed in versions 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0.
📍 영향받는 시스템
Discourse versions prior to 2026.1.8, 2026.6.3, 2026.7.2, and 2026.8.0
⚔️ 공격 벡터
디코딩된 점 세그먼트와 백슬래시를 조합한 특수하게 조작된 iframe src 경로를 통한 경로 탐색 공격
🛡️ 대응 방법
Discourse를 최신 보안 패치 버전(2026.1.8, 2026.6.3, 2026.7.2, 2026.8.0 이상)으로 업데이트하십시오.
🔧 검증 코드
명령어 실행 결과로 패치된 버전 번호가 출력되면 안전하며, 출력되지 않으면 취약한 버전일 가능성이 높습니다.
curl -s http://<discourse-url>/version | grep -E '2026\.(1\.8|6\.3|7\.2|8\.0)'