🇰🇷 한글 설명
Wazuh의 클러스터 구성 요소에서 경로 조작 취약점이 발견되었습니다. 공격자가 조작된 파일 메타데이터를 통해 시스템의 ossec.conf 파일을 덮어쓸 수 있으며, 이를 통해 루트 권한으로 임의의 명령을 실행할 수 있습니다.
💡 쉬운 설명
해커가 클러스터로 연결된 다른 컴퓨터를 통해 보안 프로그램의 설정 파일을 마음대로 바꿀 수 있는 문제입니다. 설정 파일이 바뀌면 해커가 원하는 명령어를 컴퓨터가 자동으로 실행하게 만들 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
Wazuh is a free and open source platform used for threat prevention, detection, and response. From 4.0.0 until 4.14.6 and 5.0.0-beta3, cluster.unmerge_info() in framework/wazuh/core/cluster/cluster.py constructs paths from peer-controlled merge_type and name values in a merged synchronization archive. process_files_from_worker() in framework/wazuh/core/cluster/master.py does not adequately confine the resulting path to the declared cluster item directory. A cluster peer holding the shared Fernet key can use traversal in files_metadata.json or a merged-file header to write files such as /var/ossec/etc/ossec.conf. Replacing ossec.conf can configure root-executed commands and lead to code execution when Wazuh services reload. This issue is fixed in versions 4.14.6 and 5.0.0-beta3.
📍 영향받는 시스템
Wazuh 4.0.0 ~ 4.14.5 및 5.0.0-beta3 미만 버전
⚔️ 공격 벡터
클러스터 피어(Peer)를 통한 파일 경로 조작(Path Traversal) 및 설정 파일 덮어쓰기
🛡️ 대응 방법
Wazuh를 4.14.6 또는 5.0.0-beta3 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 결과에서 설치된 Wazuh의 버전을 확인하여 취약한 버전 범위에 해당하는지 체크합니다.
dpkg -l | grep wazuh || rpm -qa | grep wazuh