{"id":"CVE-2021-41163","published":"2021-10-20T22:30:14Z","modified":"2024-08-04T02:59:31Z","title":"RCE via malicious SNS subscription payload","vendor":"discourse","product":"discourse","tier":"tail","description":{"text":"Discourse is an open source platform for community discussion. In affected versions maliciously crafted requests could lead to remote code execution. This resulted from a lack of validation in subscribe_url values. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. To workaround the issue without updating, requests with a path starting /webhooks/aws path could be blocked at an upstream proxy.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.19812,"percentile":0.97476,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/discourse/discourse/security/advisories/GHSA-jcjx-pvpc-qgwq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse/commit/fa3c46cf079d28b086fe1025349bb00223a5d5e9","tags":["x_refsource_MISC"]}],"priority":{"score":26.5,"factors":[{"name":"EPSS percentile","points":19.5},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse","versions":["tests-passed < 2.8.0.beta7","beta < 2.8.0.beta7","stable < 2.7.9"]}],"summary":{"text":"The Discourse community discussion platform contains a flaw in how it handles subscribe_url values in requests to its AWS webhook endpoint, which lacks proper validation and leads to remote code execution. An unauthenticated remote attacker with network access can exploit it by sending a maliciously crafted request to the /webhooks/aws path, requiring no user interaction or special configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:27Z"},"euvd":{"id":"EUVD-2021-28273","exploited":false,"provenance":"source"}}