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

Published Mar 15, 2024
·
Updated

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 maximagesizekb, maxattachmentsizekb and maximagemegapixels 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 maximagesizekb, maxattachmentsizekb and maximagemegapixels as smaller uploads require less resources to process. Alternatively, clientmaxbodysize can be reduced in Nginx to prevent large uploads from reaching the server.

Affected Software

3 affected components
Discourse Discourse
Discourse Discourse<3.2.0
Discourse Discourse<3.3.0

Event History

Mar 15, 2024
CVE Published
via MITRE·07:13 PM
Data Sourced
via MITRE·07:13 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-24827?

CVE-2024-24827 is considered a medium severity vulnerability due to the potential for DoS attacks from unrestricted uploads.

2

How do I fix CVE-2024-24827?

To fix CVE-2024-24827, implement rate limiting on the POST /uploads endpoint in your Discourse application.

3

What impact does CVE-2024-24827 have on my Discourse server?

The impact of CVE-2024-24827 includes increased risk of DoS attacks, which can lead to server unavailability.

4

Which versions of Discourse are affected by CVE-2024-24827?

CVE-2024-24827 affects all versions of Discourse that do not have rate limiting on the POST /uploads endpoint.

5

Is CVE-2024-24827 an exploit for Discourse?

CVE-2024-24827 is a vulnerability that can be exploited to launch DoS attacks, affecting the availability of the Discourse application.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203