🇰🇷 한글 설명
Netdata 에이전트의 스트리밍 기능에서 MACHINE_GUID가 API 키로 오용될 수 있는 취약점입니다. 공격자가 유효한 MACHINE_GUID를 사용하여 부모 에이전트에 접근하고 데이터를 조작하거나 설정을 변경할 수 있습니다. 이 문제는 Netdata 에이전트 v1.37(stable) 및 v1.36.0-409(nightly) 버전에서 수정되었습니다.
💡 쉬운 설명
Netdata라는 모니터링 도구에서 기기 고유 번호가 비밀번호처럼 사용되는 보안 허점이 발견되었습니다. 해커가 이 번호를 알아내면 모니터링 시스템에 몰래 접속하여 정보를 가로챌 수 있습니다.
🇺🇸 원문 (English)
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.
📍 영향받는 시스템
Netdata Agent (v1.37 미만 stable 및 v1.36.0-409 미만 nightly 버전)
⚔️ 공격 벡터
노출된 MACHINE_GUID를 API 키로 사용하여 부모 Netdata 에이전트에 인증 없이 접근
🛡️ 대응 방법
Netdata 에이전트를 v1.37(stable) 이상으로 업데이트하거나, 스트리밍 기능을 비활성화하고 신뢰할 수 있는 연결만 허용하도록 포트를 제한합니다.
🔧 검증 코드
출력된 Netdata 버전을 확인하여 v1.37(stable) 또는 v1.36.0-409(nightly) 이상인지 확인합니다.
netdata -V 2>/dev/null || dpkg -l | grep netdata