DEV Community

facilishz
facilishz

Posted on

Seven Wazuh-MCP-Server Body Matches and the Egress Path They Cannot See

Seven Wazuh-MCP-Server Body Matches and the Egress Path They Cannot See

Security tooling often runs close to the systems it monitors, which makes its outbound network path part of the risk. CVE-2026-138029 affected Wazuh-MCP-Server before commit 2bbfe12 through an SSRF path in blueteam_check_webshell. A body search found a small set of public candidates.

Query result

On 2026-11-27 at 23:43 UTC, ZoomEye was queried with http.body="Wazuh-MCP-Server" using sub_type=all, page 1, and page size 1. The successful response reported seven matching assets.

The count identifies indexed responses containing the phrase. It does not establish that the MCP process is running, that the webshell-check tool is enabled, or that the server is below the fixed commit.

The validation gap

WebshellCheckInput.validate_url accepted DNS hostnames without resolving them, according to the CVE record. The tool then used curl. A hostname could resolve or redirect to loopback, private, or link-local space. Response details could leak back through the analysis workflow.

An external body match cannot see the destination policy. The relevant evidence is internal: DNS answers, connected IP addresses, redirect chains, proxy logs, and whether the MCP service can reach cloud metadata or management networks.

Turning the count into a review queue

For each owned candidate, record the version or Git commit, listener, authentication method, and enabled tools. Upgrade to 2bbfe12 or later. Restrict egress to approved destinations, block metadata and management subnets, and require a validated address at connection time. If redirects are allowed, validate every hop.

Review where the server returns error details. A tool can be vulnerable as an SSRF probe even when it does not return a complete response body. Reduce the difference between user-visible errors and internal diagnostic logs while preserving evidence for defenders.

Why seven is not a census

Seven body matches are manageable for a research note but not a complete inventory. Authenticated pages, non-HTML transports, private networks, and services with a modified banner may not appear. Some matches may be documentation or repository mirrors rather than deployments.

The useful output is a timestamped query plus local evidence. ZoomEye helps identify public candidates and monitor change. It cannot show whether curl can reach the cluster control plane from a particular MCP server. That fact must be tested from the correct network segment under authorization.

References

Top comments (0)