OpenTelemetry Collector < 0.107.0 Timing Discrepancy

medium Nessus Plugin ID 205617

Synopsis

An installed application on the remote host is affected by a timing discrepancy vulnerability.

Description

The OpenTelemetry Collector running on the remote host is prior to 0.107.0. It is, therefore, affected by a timing discrepancy vulnerability, outlined below:

The bearertokenauth extension's server authenticator performs a simple, non-constant time string comparison of the received & configured bearer tokens. This impacts anyone using the `bearertokenauth` server authenticator. Malicious clients with network access to the collector may perform a timing attack against a collector with this authenticator to guess the configured token, by iteratively sending tokens and comparing the response time. This would allow an attacker to introduce fabricated or bad data into the collector's telemetry pipeline.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to OpenTelemetry Collector 0.107.0 or later.

See Also

http://www.nessus.org/u?12eb51ff

Plugin Details

Severity: Medium

ID: 205617

File Name: opentelemetry_collector_cve-2024-42368.nasl

Version: 1.1

Type: local

Agent: unix

Family: Misc.

Published: 8/15/2024

Updated: 8/15/2024

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.3

CVSS v2

Risk Factor: Medium

Base Score: 4.8

Vector: CVSS2#AV:A/AC:L/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2024-42368

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L

Vulnerability Information

CPE: x-cpe:/a:opentelemetry:collector

Required KB Items: installed_sw/OpenTelemetry Collector

Patch Publication Date: 8/13/2024

Vulnerability Publication Date: 8/13/2024

Reference Information

CVE: CVE-2024-42368

IAVA: 2024-B-0116