🔍 CVE-2023-47120

7.5
CVSS Score
HIGH
2023-11-10
2026-06-17 06:32
✅ 완료

🇰🇷 한글 설명

Discourse 커뮤니티 플랫폼에서 비정상적으로 긴 favicon URL을 포함한 사이트를 생성하고 이를 Onebox으로 여러 번 게시할 경우 Redis 메모리가 고갈될 수 있는 취약점입니다. 이로 인해 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

매우 긴 웹사이트 아이콘 주소를 이용해 게시물을 반복적으로 올리면 서버의 메모리를 모두 써버려 사이트가 멈출 수 있습니다. 악의적인 사용자가 서버 자원을 고갈시켜 서비스를 방해하는 공격입니다.

🇺🇸 원문 (English)

Discourse is an open source platform for community discussion. In versions 3.1.0 through 3.1.2 of the `stable` branch and versions 3.1.0,beta6 through 3.2.0.beta2 of the `beta` and `tests-passed` branches, Redis memory can be depleted by crafting a site with an abnormally long favicon URL and drafting multiple posts which Onebox it. The issue is patched in version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches. There are no known workarounds.

📍 영향받는 시스템

Discourse stable branch 3.1.0-3.1.2, beta/tests-passed branches 3.1.0.beta6-3.2.0.beta2

⚔️ 공격 벡터

비정상적으로 긴 favicon URL을 가진 사이트를 생성한 후, 해당 사이트를 Onebox 기능이 작동하도록 여러 게시물에 포함시켜 게시함

🛡️ 대응 방법

stable branch는 3.1.3 이상, beta 및 tests-passed branch는 3.2.0.beta3 이상으로 업데이트

🔧 검증 코드

출력된 버전 정보가 취약한 버전 범위(3.1.0-3.1.2 또는 3.2.0.beta2 이하)에 해당하면 취약한 상태입니다.

Shell / Script
curl -s http://<discourse-url>/version | grep -E '"version": "(3\.[1]\.[0-2]|3\.[2]\.[0-2]\.beta[0-2])"'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Redis