CVE-2022-23536
Cortex Local File Inclusion Alertmanager API Vulnerability
Description
Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where `-experimental.alertmanager.enable-api` or `enable_api: true` is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the `api_key_file` setting in the `opsgenie_configs` section before sending to the Set Alertmanager Configuration API.
INFO
Published Date :
Dec. 19, 2022, 10:15 p.m.
Last Modified :
Nov. 7, 2023, 3:44 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-23536 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
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-23536
.
URL | Resource |
---|---|
https://cortexmetrics.io/docs/api/#set-alertmanager-configuration | Vendor Advisory |
https://github.com/cortexproject/cortex/releases/tag/v1.13.2 | Release Notes Third Party Advisory |
https://github.com/cortexproject/cortex/releases/tag/v1.14.1 | Release Notes Third Party Advisory |
https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j | 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).
test 反向辣鸡数据投放 CVE-2022-23305 工具 利用 教程 Exploit POC
cve-2020-
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-23536
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-23536
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 -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Changed Description Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where `-experimental.alertmanager.enable-api` or `enable_api: true` is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the `api_key_file` setting in the `opsgenie_configs` section before sending to the Set Alertmanager Configuration API. Cortex provides multi-tenant, long term storage for Prometheus. A local file inclusion vulnerability exists in Cortex versions 1.13.0, 1.13.1 and 1.14.0, where a malicious actor could remotely read local files as a result of parsing maliciously crafted Alertmanager configurations when submitted to the Alertmanager Set Configuration API. Only users of the Alertmanager service where `-experimental.alertmanager.enable-api` or `enable_api: true` is configured are affected. Affected Cortex users are advised to upgrade to patched versions 1.13.2 or 1.14.1. However as a workaround, Cortex administrators may reject Alertmanager configurations containing the `api_key_file` setting in the `opsgenie_configs` section before sending to the Set Alertmanager Configuration API. -
Initial Analysis by [email protected]
Dec. 27, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://cortexmetrics.io/docs/api/#set-alertmanager-configuration No Types Assigned https://cortexmetrics.io/docs/api/#set-alertmanager-configuration Vendor Advisory Changed Reference Type https://github.com/cortexproject/cortex/releases/tag/v1.13.2 No Types Assigned https://github.com/cortexproject/cortex/releases/tag/v1.13.2 Release Notes, Third Party Advisory Changed Reference Type https://github.com/cortexproject/cortex/releases/tag/v1.14.1 No Types Assigned https://github.com/cortexproject/cortex/releases/tag/v1.14.1 Release Notes, Third Party Advisory Changed Reference Type https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j No Types Assigned https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:linuxfoundation:cortex:1.13.0:*:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:cortex:1.13.1:*:*:*:*:*:*:* *cpe:2.3:a:linuxfoundation:cortex:1.14.0:*:*:*:*:*:*:*
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-23536
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-23536
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.11 }} 0.03%
score
0.45507
percentile