Vulnerability · Published Aug 28, 2024 · Assigned by GitHub_M
CVE-2024-45043OpenTelemetry Collector AWS Firehose Receiver Authentication Bypass Vulnerability
Medium 5.3
In plain English
A medium-severity information exposure in opentelemetry-collector-contrib from open-telemetry. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver | 0.108.0 | GHSA-prf6-xjxh-p698 |
| Go | github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awsfirehosereceiver | 0.108.0 | GO-2024-3102 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| open-telemetry | opentelemetry-collector-contrib | >= 0.49.0, < 0.108.0 |
Weakness: CWE-200, CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/open-telemetry/opentelemetry-collector-contrib/security/advisories/GHSA-prf6-xjxh-p698 x_refsource_CONFIRM
- https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/34847 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-collector-releases/pull/74 x_refsource_MISC
- https://docs.aws.amazon.com/firehose/latest/dev/controlling-access.html#using-iam-http x_refsource_MISC
- https://docs.aws.amazon.com/firehose/latest/dev/httpdeliveryrequestresponse.html x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-collector#alpha x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/awsfirehosereceiver x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.108.0 x_refsource_MISC
- https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib x_refsource_MISC