CVE-2022-36066CWE-434

Discourse vulnerable to RCE via admins uploading maliciously zipped file

Critical · published September 29, 2022

CVSS v3.1
9.1
EPSS
2%
Percentile
81.3
In the wild
Unconfirmed
What it is

🔥 An attacker can exploit a crafted Zip or Gzip Tar archive in Discourse to execute code on your server without breaking a sweat! Think of it as a sneaky delivery service that accepts packages without checking what's inside — it lets in a malicious parcel that can wreak havoc in your office, or in this case, your server. 📦 If an attacker successfully exploits this vulnerability, they could write files in arbitrary locations and trigger remote code execution, giving them full control over your server. This could lead to data breaches, service disruptions, and an absolute nightmare for site admins trying to maintain security. ⚠️

Put simply

Think of it as a sneaky delivery service that accepts packages without checking what's inside — it lets in a malicious parcel that can wreak havoc in your office, or in this case, your server. 📦 This vulnerability in Discourse allows an attacker to upload a specially crafted archive file that bypasses security checks, enabling remote code execution on affected installations. Specifically, it affects versions prior to 2.8.9 on the stable branch and prior to 2.9.0.beta10 on the beta and tests-passed branches.

What to do

If an attacker successfully exploits this vulnerability, they could write files in arbitrary locations and trigger remote code execution, giving them full control over your server. This could lead to data breaches, service disruptions, and an absolute nightmare for site admins trying to maintain security. ⚠️ To protect yourself, patch your Discourse installation immediately to version 2.8.9 on the stable branch or 2.9.0.beta10 on the beta and tests-passed branches. There are no known workarounds, so updating is essential! You've got this! With a quick update, you can secure your Discourse installation and eliminate the risk. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02077 · 81.3th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2022-09-29T19:35Z
EPSS history
Timeline
  • 29 SEP 19:35Z
    Discourse vulnerable to RCE via admins uploading maliciously zipped file
    cvelistv5