CVE-2022-23536

Published: Dic 19, 2022 Last Modified: Nov 21, 2024 EU-VD ID: EUVD-2022-7604 Aliases: GHSA-cq2g-pw6q-hf7j
ExploitDB:
Other exploit source:
Google Dorks:
MEDIUM 6,5
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: unchanged
Confidentiality: high
Integrity: none
Availability: none

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0058
Percentile
0,7th
Updated

EPSS Score Trend (Last 90 Days)

73

External Control of File Name or Path

Draft
Common Consequences
Security Scopes Affected:
Integrity Confidentiality Availability
Potential Impacts:
Read Files Or Directories Modify Files Or Directories Execute Unauthorized Code Or Commands Dos: Crash, Exit, Or Restart Dos: Resource Consumption (Other)
Applicable Platforms
Operating Systems: Unix, Windows, macOS
View CWE Details
184

Incomplete List of Disallowed Inputs

Draft
Common Consequences
Security Scopes Affected:
Access Control
Potential Impacts:
Bypass Protection Mechanism
Applicable Platforms
All platforms may be affected
View CWE Details
641

Improper Restriction of Names for Files and Other Resources

Incomplete
Common Consequences
Security Scopes Affected:
Integrity Confidentiality Availability
Potential Impacts:
Execute Unauthorized Code Or Commands Read Application Data Dos: Crash, Exit, Or Restart
Applicable Platforms
All platforms may be affected
View CWE Details
Application

Cortex by Linuxfoundation

cpe:2.3:a:linuxfoundation:cortex:1.13.1:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Cortex by Linuxfoundation

cpe:2.3:a:linuxfoundation:cortex:1.14.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
Application

Cortex by Linuxfoundation

cpe:2.3:a:linuxfoundation:cortex:1.13.0:*:*:*:*:*:*:*
Common Platform Enumeration - Standardized vulnerability identification
https://cortexmetrics.io/docs/api/#set-alertmanager-configuration
https://github.com/cortexproject/cortex/releases/tag/v1.13.2
https://github.com/cortexproject/cortex/releases/tag/v1.14.1
https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j
https://cortexmetrics.io/docs/api/#set-alertmanager-configuration
https://github.com/cortexproject/cortex/releases/tag/v1.13.2
https://github.com/cortexproject/cortex/releases/tag/v1.14.1
https://github.com/cortexproject/cortex/security/advisories/GHSA-cq2g-pw6q-hf7j