Arbitrary file upload in Discourse
CVE-2022-36066
Discourse is an open source discussion platform. In versions prior to 2.8.9 on the `stable` branch and prior to 2.9.0.beta10 on the `beta` and `tests-passed` branches, admins can upload a maliciously crafted Zip or Gzip Tar archive to write files at arbitrary locations and trigger remote code execution. The problem is patched in version 2.8.9 on the `stable` branch and version 2.9.0.beta10 on the `beta` and `tests-passed` branches. There are no known workarounds.
Vulnerability class: Unrestricted File Upload
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.020 (80.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 80.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.020 · change: +0.004
Affected products
- Discourse — versions >= 2.9.0.beta0, < 2.9.0.beta10, 2.9.0, < 2.8.9
Weakness classification (CWE)
References
- github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv (Third Party Advisory)
- github.com/discourse/discourse/pull/18421 (Patch, Third Party Advisory)
- github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-36066?
- CVE-2022-36066 is a critical-severity vulnerability in Discourse, classified under Unrestricted Upload of File with Dangerous Type. CVSS score: 9.1/10. Published 2022-09-29.
- How severe is CVE-2022-36066?
- Critical severity. CVSS v3 base score is 9.1 out of 10.