8.2high
Anonymous cache poisoning via XHR requests in Discourse
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.82% (higher than 87% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2024-47773GHSA-58vv-9j8h-hw2v
Description
Discourse is an open source platform for community discussion. An attacker can make several XHR requests until the cache is poisoned with a response without any preloaded data. This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | stable: < 3.3.2, tests-passed: < 3.4.0.beta2, before 3.3.2 | CVE List, NVD |
| discourse (Bitnami) | before 3.3.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
Discourse is an open source platform for community discussion. An attacker can make several XHR requests until the cache is poisoned with a response without any preloaded data. This issue only affects anonymous visitors of the site. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should disable anonymous cache by setting the `DISCOURSE_DISABLE_ANON_CACHE` environment variable to a non-empty value.
NVD (es)
Discourse es una plataforma de código abierto para debates comunitarios. Un atacante puede realizar varias solicitudes XHR hasta que la caché se envenene con una respuesta sin ningún dato precargado. Este problema solo afecta a los visitantes anónimos del sitio. Este problema se ha solucionado en la última versión de Discourse. Se recomienda a los usuarios que actualicen la versión. Los usuarios que no puedan actualizar la versión deben desactivar la caché anónima configurando la variable de entorno `DISCOURSE_DISABLE_ANON_CACHE` con un valor que no esté vacío.
References
| https://github.com/discourse/discourse/security/advisories/GHSA-58vv-9j8h-hw2v | advisory, third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-47773 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-47773 changed 2024-10-08 | CVE Terms of Use |
| NVD | CVE-2024-47773 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2024-47773 changed 2026-09-08 | Apache-2.0 |