CVE-2024-45043 OpenTelemetry Collector AWS Firehose Receiver Authentication Bypass Vulnerability

Medium 5.3 Published Updated

Attackers can bypass authentication in the AWS Firehose receiver to inject unauthorized metrics, potentially hiding malicious activity.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-45043?

CVE-2024-45043 is a medium-severity authentication bypass vulnerability in open-telemetry opentelemetry-collector-contrib, published on 28 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The OpenTelemetry Collector module AWS firehose receiver is for ingesting AWS Kinesis Data Firehose delivery stream messages and parsing the records received based on the configured record type. `awsfirehosereceiver` allows unauthenticated remote requests, even when configured to require a key. OpenTelemetry Collector can be configured to receive CloudWatch metrics via an AWS Firehose Stream. Firehose sets the header `X-Amz-Firehose-Access-Key` with an arbitrary configured string. The OpenTelemetry Collector awsfirehosereceiver can optionally be configured to require this key on incoming requests. However, when this is configured it **still accepts incoming requests with no key**. Only OpenTelemetry Collector users configured with the “alpha” `awsfirehosereceiver` module are affected. This module was added in version v0.49.0 of the “Contrib” distribution (or may be included in custom builds). There is a risk of unauthorized users writing metrics. Carefully crafted metrics could hide other malicious activity. There is no risk of exfiltrating data. It’s likely these endpoints will be exposed to the public internet, as Firehose does not support private HTTP endpoints. A fix was introduced in PR #34847 and released with v0.108.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-863, CWE-200

Which versions are affected by CVE-2024-45043?

3 open source packages ship an affected version, including github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver.

PackageAffectedFixed in
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver GoFrom 0.49.00.108.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver GoFrom 0.49.00.108.0
github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver GoFrom 0.49.00.108.0

How do I fix CVE-2024-45043?

Upgrade github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver to 0.108.0 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-45043 being exploited?

There is no known exploitation of CVE-2024-45043 in the wild and no public exploit code.

Sources

Also known as GHSA-prf6-xjxh-p698, GO-2024-3102.

Is CVE-2024-45043 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free