10.0critical
RCE via malicious SNS subscription payload
- Severity
- 10.0critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 19.8% (higher than 97% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2021-41163GHSA-jcjx-pvpc-qgwq
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | tests-passed < 2.8.0.beta7, beta < 2.8.0.beta7, stable < 2.7.9, before 2.7.9, 2.8.0 | CVE List, NVD |
| discourse (Bitnami) | before 2.7.9 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Bitnami Vulnerability Database | critical rating |
Classification
What each source says
CVE List
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.
NVD (es)
Discourse es una plataforma de código abierto para el debate comunitario. En las versiones afectadas, las peticiones diseñadas de forma maliciosa podían conllevar a una ejecución de código remota . Esto se debía a una falta de comprobación en los valores de subscribe_url. Este problema está parcheado en las últimas versiones estables, beta y de prueba de Discourse. Para solucionar el problema sin necesidad de actualizar, las peticiones con una ruta que empiece por /webhooks/aws podrían bloquearse en un proxy de subida
References
| https://github.com/discourse/discourse/security/advisories/GHSA-jcjx-pvpc-qgwq | advisory, third-party-advisory | |
| https://github.com/discourse/discourse/commit/fa3c46cf079d28b086fe1025349bb00223a5d5e9 | advisory, patch, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-41163 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-41163 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-41163 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2021-41163 changed 2026-09-08 | Apache-2.0 |