CVE-2022-23536: medium-severity vulnerability in cortexproject cortex
Alertmanager can expose local files content via specially crafted config
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Cortex's Alertmanager API can be tricked into reading and exposing local files on the server when a specially crafted configuration file is submitted. This matters because an attacker could steal sensitive information like credentials or keys stored on the server.
A local file inclusion vulnerability exists in Cortex Alertmanager's configuration parsing when the API is enabled. An attacker can submit a malicious configuration containing `api_key_file` in `opsgenie_configs` section to the Set Configuration API, causing the server to read and expose arbitrary local files. Affected versions are 1.13.0, 1.13.1, and 1.14.0; upgrade to 1.13.2 or 1.14.1.