CVE-2022-36065
GrowthBook Self-Hosted Arbitrary Code Execution
Description
GrowthBook is an open-source platform for feature flagging and A/B testing. With some self-hosted configurations in versions prior to 2022-08-29, attackers can register new accounts and upload files to arbitrary directories within the container. If the attacker uploads a Python script to the right location, they can execute arbitrary code within the container. To be affected, ALL of the following must be true: Self-hosted deployment (GrowthBook Cloud is unaffected); using local file uploads (as opposed to S3 or Google Cloud Storage); NODE_ENV set to a non-production value and JWT_SECRET set to an easily guessable string like `dev`. This issue is patched in commit 1a5edff8786d141161bf880c2fd9ccbe2850a264 (2022-08-29). As a workaround, set `JWT_SECRET` environment variable to a long random string. This will stop arbitrary file uploads, but the only way to stop attackers from registering accounts is by updating to the latest build.
INFO
Published Date :
Sept. 6, 2022, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 7:12 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
1.6
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-36065
.
URL | Resource |
---|---|
https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264 | Patch Third Party Advisory |
https://github.com/growthbook/growthbook/pull/487 | Issue Tracking Mitigation Patch Third Party Advisory |
https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r | Issue Tracking Mitigation Patch Third Party Advisory |
https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264 | Patch Third Party Advisory |
https://github.com/growthbook/growthbook/pull/487 | Issue Tracking Mitigation Patch Third Party Advisory |
https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r | Issue Tracking Mitigation Patch 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-36065
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-36065
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 af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264 Added Reference https://github.com/growthbook/growthbook/pull/487 Added Reference https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 21, 2023
Action Type Old Value New Value Removed CWE NIST CWE-434 Added CWE NIST CWE-22 -
Initial Analysis by [email protected]
Sep. 12, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264 No Types Assigned https://github.com/growthbook/growthbook/commit/1a5edff8786d141161bf880c2fd9ccbe2850a264 Patch, Third Party Advisory Changed Reference Type https://github.com/growthbook/growthbook/pull/487 No Types Assigned https://github.com/growthbook/growthbook/pull/487 Issue Tracking, Mitigation, Patch, Third Party Advisory Changed Reference Type https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r No Types Assigned https://github.com/growthbook/growthbook/security/advisories/GHSA-j24q-55xh-wm4r Issue Tracking, Mitigation, Patch, Third Party Advisory Added CWE NIST CWE-434 Added CPE Configuration OR *cpe:2.3:a:growthbook:growthbook:*:*:*:*:*:*:*:* versions up to (excluding) 1.6.0 -
CVE Modified by [email protected]
Sep. 06, 2022
Action Type Old Value New Value Changed Description GrowthBook is an open-source platform for feature flagging and A/B testing. With some self-hosted configurations in versions prior to 2022-08-29, attackers can register new accounts and upload files to arbitrary directories within the container. If the attacker uploads a Python script to the right location, they can execute arbitrary code within the container. To be affected, ALL of the following must be true: Self-hosted deployment (GrowthBook Cloud is unaffected); using local file uploads (as opposed to S3 or Google Cloud Storage); NODE_ENV set to a non-production value and JWT_SECRET set to an easily guessable string like `dev`. This issue is patched in commit 1a5edff8786d141161bf880c2fd9ccbe2850a264 (2022-08-29). As a workaround, set `JWT_SECRET` environment variable to a long random string. This will stop arbitrary file uploads, but the only way to stop attackers from registering accounts is by updating to the latest build. GrowthBook is an open-source platform for feature flagging and A/B testing. With some self-hosted configurations in versions prior to 2022-08-29, attackers can register new accounts and upload files to arbitrary directories within the container. If the attacker uploads a Python script to the right location, they can execute arbitrary code within the container. To be affected, ALL of the following must be true: Self-hosted deployment (GrowthBook Cloud is unaffected); using local file uploads (as opposed to S3 or Google Cloud Storage); NODE_ENV set to a non-production value and JWT_SECRET set to an easily guessable string like `dev`. This issue is patched in commit 1a5edff8786d141161bf880c2fd9ccbe2850a264 (2022-08-29). As a workaround, set `JWT_SECRET` environment variable to a long random string. This will stop arbitrary file uploads, but the only way to stop attackers from registering accounts is by updating to the latest build.
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-36065
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-36065
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.79 }} 0.22%
score
0.72779
percentile