Description
Wazuh-MCP-Server before commit 2bbfe12 contains a server-side request forgery vulnerability in the blueteam_check_webshell tool because WebshellCheckInput.validate_url accepts DNS hostnames without resolving them. Attackers can supply URLs whose hostnames resolve or redirect to loopback, private, or link-local addresses, making curl reach internal services and cloud metadata endpoints and leak response details.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
INFOKOM-KI Wazuh-MCP-Server
Default version status: unaffected
a585b2d537d5d9137aede09ca8540d5dfc7cecdf to < 2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4affected
pkg:github/INFOKOM-KI/Wazuh-MCP-ServerReferences
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/security/advisories/GHSA-pw2j-pj4h-f5vg ↗
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/commit/2bbfe12bf90ffd0a0c1299b5ed080740b09f4de4 ↗
- https://github.com/INFOKOM-KI/Wazuh-MCP-Server/blob/9f8243854fd487b2dadf354544b553e657d1709c/mcp_server/tools/webshell_check.py#L83-L100 ↗
- https://www.vulncheck.com/advisories/wazuh-mcp-server-before-commit-2bbfe12-ssrf-via-blueteam-check-webshell-hostname-bypass ↗