Skip to content

CVE-2023-22497 Netdata is vulnerable to improper authentication

CriticalCVSS 9.1 EPSS 0.73%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebian

Description

Netdata is an open source option for real-time infrastructure monitoring and troubleshooting. Each Netdata Agent has an automatically generated MACHINE GUID. It is generated when the agent first starts and it is saved to disk, so that it will persist across restarts and reboots. Anyone who has access to a Netdata Agent has access to its MACHINE_GUID. Streaming is a feature that allows a Netdata Agent to act as parent for other Netdata Agents (children), offloading children from various functions (increased data retention, ML, health monitoring, etc) that can now be handled by the parent Agent. Configuration is done via stream.conf. On the parent side, users configure in stream.conf an API key (any random UUID can do) to provide common configuration for all children using this API key and per MACHINE GUID configuration to customize the configuration for each child. The way this was implemented, allowed an attacker to use a valid MACHINE_GUID as an API key. This affects all users who expose their Netdata Agents (children) to non-trusted users and they also expose to the same users Netdata Agent parents that aggregate data from all these children. The problem has been fixed in: Netdata agent v1.37 (stable) and Netdata agent v1.36.0-409 (nightly). As a workaround, do not enable streaming by default. If you have previously enabled this, it can be disabled. Limiting access to the port on the recipient Agent to trusted child connections may mitigate the impact of this vulnerability.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/netdata(Debian 12) < 1.37.0-1 1.37.0-1 Fixed
netdata < 1.37.0; = < 1.36.0-409; = < 1.37 1.37.0 Fixed
ubuntu/netdata(Ubuntu 22.04) < 1.33.1-1ubuntu1+esm1 1.33.1-1ubuntu1+esm1 Fixed
ubuntu/netdata(Ubuntu Pro 20.04) < 1.19.0-3ubuntu1+esm1; = 1.16.1-2; = 1.19.0-3ubuntu1 1.19.0-3ubuntu1+esm1 Fixed
ubuntu/netdata(Ubuntu Pro 22.04) < 1.33.1-1ubuntu1+esm1; = 1.29.3-4; = 1.31.0-4; = 1.33.1-1ubuntu1 1.33.1-1ubuntu1+esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/netdata(Debian:12) < 1.37.0-1 1.37.0-1
netdata = < 1.36.0-409 No fix listed
netdata = < 1.37 No fix listed
ubuntu/netdata(Ubuntu:22.04) < 1.33.1-1ubuntu1+esm1 1.33.1-1ubuntu1+esm1
netdata < 1.37.0 1.37.0
ubuntu/netdata(Ubuntu:Pro:20.04) < 1.19.0-3ubuntu1+esm1 1.19.0-3ubuntu1+esm1
ubuntu/netdata(Ubuntu:Pro:20.04) = 1.16.1-2 No fix listed
ubuntu/netdata(Ubuntu:Pro:20.04) = 1.19.0-3ubuntu1 No fix listed
ubuntu/netdata(Ubuntu:Pro:22.04) < 1.33.1-1ubuntu1+esm1 1.33.1-1ubuntu1+esm1
ubuntu/netdata(Ubuntu:Pro:22.04) = 1.29.3-4 No fix listed
ubuntu/netdata(Ubuntu:Pro:22.04) = 1.31.0-4 No fix listed
ubuntu/netdata(Ubuntu:Pro:22.04) = 1.33.1-1ubuntu1 No fix listed

References