Paper/Archive/CVE-2022-36066

CVE-2022-36066

discourse discourse — Discourse vulnerable to RCE via admins uploading maliciously zipped file

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
discourse< 2.8.9–CNA
discourse>= 2.9.0.beta0, < 2.9.0.beta10–CNA

Scores by source

GitHub_M (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: total

References

refgithub.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmvrefgithub.com/discourse/discourse/pull/18421refgithub.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835