🔍 CVE-2024-53991

7.5
CVSS Score
HIGH
2024-12-19
2026-06-17 08:09
✅ 완료

🇰🇷 한글 설명

Discourse 플랫폼에서 로컬 디스크에 파일을 저장하도록 설정된 경우, 공격자가 백업 파일 이름을 알면 정교하게 조작된 요청을 통해 nginx를 속여 백업 파일을 탈취할 수 있는 취약점입니다. 이 문제는 최신 안정 버전, 베타 및 테스트 통과 버전에서 패치되었습니다.

💡 쉬운 설명

커뮤니티 게시판 서비스인 Discourse에서 중요한 백업 파일이 외부로 유출될 수 있는 보안 결함이 발견되었습니다. 공격자가 파일 이름을 알아내어 서버에 저장된 백업 데이터를 몰래 가져갈 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

Discourse is an open source platform for community discussion. This vulnerability only impacts Discourse instances configured to use `FileStore::LocalStore` which means uploads and backups are stored locally on disk. If an attacker knows the name of the Discourse backup file, the attacker can trick nginx into sending the Discourse backup file with a well crafted request. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to upgrade. Users unable to upgrade can either 1. Download all local backups on to another storage device, disable the `enable_backups` site setting and delete all backups until the site has been upgraded to pull in the fix. Or 2. Change the `backup_location` site setting to `s3` so that backups are stored and downloaded directly from S3.

📍 영향받는 시스템

FileStore::LocalStore를 사용하여 업로드 및 백업을 로컬 디스크에 저장하도록 설정된 Discourse 인스턴스

⚔️ 공격 벡터

공격자가 백업 파일 이름을 알아낸 후, 조작된 HTTP 요청을 통해 nginx가 해당 파일을 전송하도록 유도

🛡️ 대응 방법

Discourse를 최신 버전으로 업그레이드하거나, 백업 저장 위치를 S3로 변경하거나, 로컬 백업을 삭제하고 백업 기능을 비활성화해야 합니다.

🔧 검증 코드

출력된 버전이 Discourse의 최신 보안 패치가 적용된 버전인지 공식 릴리스 노트를 통해 확인하십시오.

Shell / Script
discourse_version=$(cat /var/www/discourse/config/version.txt 2>/dev/null); echo "Current version: $discourse_version"

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Nginx