漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Wazuh: Path traversal in ip-customblock active response allows arbitrary file creation and deletion
Vulnerability Description
Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. The ip-customblock active response script contains a path traversal vulnerability that lets an attacker create or delete arbitrary files on the filesystem as root. The script builds a file path by concatenating the srcip field taken from alert JSON directly onto the fixed /ipblock/ base directory, without validating that the value is a well-formed IP address. Because the extraction routine returns the raw string unchecked, an attacker who can trigger alert-matching log events with a crafted srcip containing ../ sequences can escape the base directory. The block action opens the resulting path in append mode, creating an empty file at an arbitrary location, while the unblock action passes it to remove(), deleting an arbitrary file; since the active response daemon runs as root, this includes sensitive files such as system credentials and Wazuh configuration. Unlike the sibling scripts host-deny.c, default-firewall-drop.c, and firewalld-drop.c, which reject non-IP input via get_ip_version(), ip-customblock.c omits this validation. This issue is fixed in version 4.14.7.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Vulnerability Type
对路径名的限制不恰当(路径遍历)
Vulnerability Title
Wazuh 路径遍历漏洞
Vulnerability Description
Wazuh是美国Wazuh公司开源的一款安全检测与威胁分析平台。 Wazuh 4.2.0及之后版本至4.14.7之前版本和5.0.0-alpha0及之后版本至5.0.0-beta3之前版本存在路径遍历漏洞,该漏洞源于ip-customblock活动响应脚本在构建文件路径时未验证srcip字段,直接将告警JSON中的srcip拼接至固定目录,存在路径遍历问题,攻击者可利用包含../序列的精心构造的srcip逃离基础目录,导致创建或删除任意文件,且由于活动响应守护进程以root权限运行,可能删除系统凭据和Wa
CVSS Information
N/A
Vulnerability Type
N/A