9.1
CRITICAL
CVE-2022-36066
Discourse Zip/Gzip Archive Remote Code Execution Vulnerability
Description

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.

INFO

Published Date :

Sept. 29, 2022, 8:15 p.m.

Last Modified :

Oct. 6, 2022, 7:07 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.0

Exploitability Score :

2.3
Affected Products

The following products are affected by CVE-2022-36066 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Discourse discourse
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2022-36066.

URL Resource
https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch Third Party Advisory
https://github.com/discourse/discourse/pull/18421 Patch Third Party Advisory
https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2022-36066 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2022-36066 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Oct. 06, 2022

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 No Types Assigned https://github.com/discourse/discourse/commit/b27d5626d208a22c516a0adfda7554b67b493835 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/pull/18421 No Types Assigned https://github.com/discourse/discourse/pull/18421 Patch, Third Party Advisory
    Changed Reference Type https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv No Types Assigned https://github.com/discourse/discourse/security/advisories/GHSA-grvh-qcpg-hfmv Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:* versions up to (excluding) 2.8.9 *cpe:2.3:a:discourse:discourse:2.9.0:beta1:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta2:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta3:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta4:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta5:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta6:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta7:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta8:*:*:*:*:*:* *cpe:2.3:a:discourse:discourse:2.9.0:beta9:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2022-36066 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2022-36066 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.06 }} 0.05%

score

0.84260

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability