CVE-2021-41163CWE-74

RCE via malicious SNS subscription payload

Critical · published October 20, 2021

CVSS v3.1
10.0
EPSS
20%
Percentile
97.4
In the wild
Unconfirmed
What it is

🚨 A tiny oversight in Discourse could let attackers execute malicious code remotely — like leaving the back door of a digital community wide open! 🔥 Think of it like a restaurant with a takeout order system that doesn’t double-check the customer's identity before preparing their meal. If someone sneaks in a false order, they could end up stealing a whole feast instead! If exploited, attackers could waltz right into your servers and execute any code they wanted — potentially accessing sensitive data, changing settings, or even taking full control of your community platform. The consequences could be absolutely devastating for user trust and data integrity.

Put simply

Think of it like a restaurant with a takeout order system that doesn’t double-check the customer's identity before preparing their meal. If someone sneaks in a false order, they could end up stealing a whole feast instead! This CVE arises from a lack of validation on `subscribe_url` values, allowing crafted requests to lead to remote code execution in vulnerable versions of Discourse.

What to do

If exploited, attackers could waltz right into your servers and execute any code they wanted — potentially accessing sensitive data, changing settings, or even taking full control of your community platform. The consequences could be absolutely devastating for user trust and data integrity. Immediately upgrade to the latest stable, beta, or tests-passed versions of Discourse to close this vulnerability. If an upgrade can't be applied right away, consider blocking requests with a path starting with `/webhooks/aws` at an upstream proxy as a temporary workaround. You've got this! Stay vigilant and update your systems — let’s keep our communities safe! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.19812 · 97.4th percentile
Weakness
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Published
2021-10-20T22:30Z
EPSS history
Timeline
  • 20 OCT 22:30Z
    RCE via malicious SNS subscription payload
    cvelistv5