🇰🇷 한글 설명
Wazuh 4.0.0부터 4.14.6 버전 사이에서 발생하는 취약점으로, 악의적인 등록 관리자나 중간자 공격자가 잘못된 형식의 키 응답을 보낼 경우 에이전트가 NULL 포인터 역참조로 인해 충돌할 수 있습니다. CA 인증서가 설정되지 않은 경우 검증되지 않은 관리자에게 등록이 허용되므로, 공격자는 이를 이용해 에이전트 프로세스를 강제로 종료시켜 서비스 거부(DoS) 상태를 유발할 수 있습니다.
💡 쉬운 설명
보안 프로그램인 Wazuh가 가짜 관리자로부터 잘못된 정보를 받았을 때, 이를 제대로 확인하지 못하고 프로그램이 갑자기 꺼져버리는 문제입니다. 공격자가 이 점을 이용해 보안 감시 시스템을 마비시킬 수 있습니다.
🇺🇸 원문 (English)
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.0.0 through 4.14.6, a malicious or man-in-the-middle enrollment manager can crash a Wazuh agent during enrollment by returning a malformed key response with fewer than four fields, causing a NULL pointer dereference. The w_enrollment_process_agent_key() routine splits the manager-provided key into four space-separated fields but does not verify that all fields are present before passing them to validators. Because OS_StrBreak() leaves missing trailing entries as NULL and OS_IsValidName() calls strlen() on its argument without a NULL check, a response such as OSSEC K:'1' reaches OS_IsValidName(NULL) and terminates the agent process. Since Wazuh permits enrollment against an unverified manager when no CA certificate is configured, an attacker operating a rogue manager or intercepting the enrollment flow can deterministically crash agents, resulting in denial of service. This issue is fixed in version 4.14.7.
📍 영향받는 시스템
Wazuh Agent versions 4.0.0 through 4.14.6
⚔️ 공격 벡터
악의적인 등록 관리자 또는 중간자(MitM) 공격을 통한 잘못된 형식의 키 응답 전송
🛡️ 대응 방법
Wazuh 에이전트를 최신 버전인 4.14.7 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 번호가 4.14.6 이하이면 취약한 버전이므로 업데이트가 필요합니다.
wazuh-agent --version 2>/dev/null | grep -E '4\.[0-9]+\.[0-9]+'