← Terug naar overzicht

A path traversal vulnerability exists in the Wazuh open-source security platform's ip-customblock active response script. The script concatenates the srcip field from alert JSON directly onto the /ipblock/ base directory without validating that the value is a well-formed IP address. An attacker who can trigger alert-matching log events with a crafted srcip value containing ../ sequences can escape the base directory. The block action can create arbitrary empty files, while the unblock action can delete arbitrary files. Since the active response daemon runs as root, sensitive files such as system credentials and Wazuh configuration are at risk. Sibling scripts (host-deny.c, default-firewall-drop.c, firewalld-drop.c) include IP validation via get_ip_version(), but ip-customblock.c omits this check. The vulnerability has been patched in Wazuh version 4.14.7.

Affected products

  • Wazuh

Related CVE's

  • CVE-2026-54083

Categories

  • Security Tools
  • Zero-Day Vulnerabilities