🇰🇷 한글 설명
Wazuh 1.0.0 버전부터 4.14.4 미만 버전에서 GetAlertData 함수 내 힙 기반 경계 외 쓰기(Out-of-bounds WRITE) 취약점이 발견되었습니다. 부호 없는 정수 언더플로우와 포인터 연산 오류로 인해 힙 메타데이터가 손상될 수 있으며, 이는 서비스 거부(DoS) 또는 힙 오염으로 이어질 수 있습니다.
💡 쉬운 설명
보안 프로그램인 Wazuh의 특정 기능에서 메모리 관리 오류가 발생하여 시스템이 멈추거나 오작동할 수 있는 문제입니다. 공격자가 조작된 데이터를 보내 시스템을 마비시킬 위험이 있습니다.
🇺🇸 원문 (English)
Wazuh is a free and open source platform used for threat prevention, detection, and response. From version 1.0.0 to before version 4.14.4, a heap-based out-of-bounds WRITE occurs in GetAlertData, resulting in writing a NULL byte exactly 1 byte before the start of the buffer allocated by strdup. Due to unsigned integer underflow and pointer arithmetic wrapping, the write lands at offset -1 from the buffer, corrupting heap metadata. A malicious actor can potentially leverage this issue through a compromised agent to cause denial of service or heap corruption by injecting a specially crafted alert into the alerts log file monitored by wazuh-logcollector. This issue has been patched in version 4.14.4.
📍 영향받는 시스템
Wazuh version 1.0.0 to before 4.14.4
⚔️ 공격 벡터
감염된 에이전트가 조작된 경고(alert)를 로그 파일에 주입하여 wazuh-logcollector를 통해 공격 수행
🛡️ 대응 방법
Wazuh를 최신 패치 버전인 4.14.4 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 4.14.4 미만인 경우 해당 취약점에 노출된 상태입니다.
wazuh-control -v 2>/dev/null || wazuh-manager --version 2>/dev/null | grep -E '4\.[0-9]+\.[0-9]+'