PT-2023-18547

CVE-2023-22496

·

Published

2023-01-14

·

Updated

2024-01-12

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Netdata agent versions prior to 1.37 (stable) and 1.36.0-409 (nightly)
Description An issue exists where an attacker can execute arbitrary commands on a targeted Netdata agent by establishing a streaming connection and providing a specially crafted registry hostname as part of the health data. This is possible because the health alarm execute function calls spawn enq cmd with unsanitized arguments, including registry hostname. The commands are executed as the user running the Netdata Agent, usually named netdata. This may allow an attacker to escalate privileges by exploiting other vulnerabilities in the system.
Recommendations For versions prior to 1.37 (stable) and 1.36.0-409 (nightly), update to the fixed version to resolve the issue. As a temporary workaround, consider disabling the streaming feature if it has been previously enabled. Restrict access to the port on the recipient Agent to trusted child connections to minimize the risk of exploitation.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-XG38-3VMW-2978
ALT-PU-2023-1106
ALT-PU-2023-1223
OESA-2024-1050
OESA-2024-1051
OESA-2024-1052
Found an issue in the description? Have something to add? Feel free to write us 👾