🔍 CVE-2024-24827

5.3
CVSS Score
MEDIUM
2024-03-15
2026-06-17 07:14
✅ 완료

🇰🇷 한글 설명

오픈 소스 커뮤니티 플랫폼인 Discourse의 /uploads 엔드포인트에 속도 제한(Rate Limit)이 없어 서비스 거부(DoS) 공격에 취약합니다. 공격자가 리소스를 많이 소모하는 업로드 요청을 반복적으로 보냄으로써 서버 자원을 고갈시킬 수 있습니다.

💡 쉬운 설명

파일을 올리는 기능에 제한이 없어서, 나쁜 의도를 가진 사람이 엄청나게 많은 파일을 계속 올리려고 시도하면 서버가 과부하로 멈출 수 있습니다. 이를 방지하기 위해 파일 크기를 줄이거나 업로드 횟수를 제한해야 합니다.

🇺🇸 원문 (English)

Discourse is an open source platform for community discussion. Without a rate limit on the POST /uploads endpoint, it makes it easier for an attacker to carry out a DoS attack on the server since creating an upload can be a resource intensive process. Do note that the impact varies from site to site as various site settings like `max_image_size_kb`, `max_attachment_size_kb` and `max_image_megapixels` will determine the amount of resources used when creating an upload. The issue is patched in the latest stable, beta and tests-passed version of Discourse. Users are advised to upgrade. Users unable to upgrade should reduce `max_image_size_kb`, `max_attachment_size_kb` and `max_image_megapixels` as smaller uploads require less resources to process. Alternatively, `client_max_body_size` can be reduced in Nginx to prevent large uploads from reaching the server.

📍 영향받는 시스템

Discourse (패치 전 버전)

⚔️ 공격 벡터

POST /uploads 엔드포인트를 이용한 대량의 업로드 요청 전송

🛡️ 대응 방법

Discourse를 최신 버전으로 업데이트하거나, 설정에서 파일 크기 제한을 줄이고 Nginx의 client_max_body_size를 조정합니다.

🔧 검증 코드

출력된 버전 정보가 보안 패치가 적용된 최신 안정화 버전인지 확인합니다.

Shell / Script
curl -s https://your-discourse-site.com/version | grep -E 'revision'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Nginx