Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-24827— No rate limits on POST /uploads endpoint in Discourse

Quick assessment

Affected
discourse discourse
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse存在安全漏洞,该漏洞源于POST /uploads 端点没有速率限制。攻击者利用该漏洞对服务器进行拒绝服务攻击。

CVSS 5.3 · Medium EPSS 0.59% · P48
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-24827

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
No rate limits on POST /uploads endpoint in Discourse
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
Discourse 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Discourse是一套开源的社区讨论平台。该平台包括社区、电子邮件和聊天室等功能。 Discourse存在安全漏洞,该漏洞源于POST /uploads 端点没有速率限制。攻击者利用该漏洞对服务器进行拒绝服务攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
discourse discourse stable <= 3.2.0 -

II. Public POCs for CVE-2024-24827

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-24827

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-24827 (1)

Vendor Advisories for CVE-2024-24827 (1)

Same Patch Batch · discourse · 2024-03-15 · 5 CVEs total

CVE-2024-27100 6.5 MEDIUM Denial of service via Staff Actions in Discourse
CVE-2024-27085 6.5 MEDIUM Denial of service through invites in Discourse
CVE-2024-24748 5.3 MEDIUM Disclosure of the existence of secret subcategories in Discourse
CVE-2024-28242 5.3 MEDIUM Disclosure of the existence of secret categories with custom backgrounds in Discourse

IV. Related Vulnerabilities