Fastly Next-Gen WAF agent fails open before rules load in Kubernetes sidecar deployments
Researcher reports that the Fastly Next-Gen WAF agent passes traffic uninspected before loading a ruleset, while the vendor disputes it.
Reported by Full Disclosure
First reported Summary updated
- Public PoC
- Yes
- Exploited
- Not known
- CVSS
- 6.3 Medium
What happened
In Kubernetes sidecar deployments, the Fastly Next-Gen WAF agent allows requests through without inspection until it has loaded a ruleset, even though the pod reports Ready.1
The agent creates its RPC socket after its first configuration download attempt, regardless of success, and then answers every request with a disabled marker until a later download succeeds.1
The researcher tested version 4.83.2 and found that all four simulated configuration-download failures produced the same allow-all state, persisting with retries every 30 seconds.1
The vendor's position is that this is intended fail-open design and not a vulnerability, and it will not change the default.1
Who is affected
- Fastly Next-Gen WAF agent (sigsci-agent) with the NGINX module, Kubernetes sidecar deployment, All agent versions in default configuration, through at least 4.83.21
Is there a public exploit?
Yes, public Public PoC or exploit code has been published, listed below.
PoC code comes from strangers and is not checked by us. Read it before you run it, and only run it in a lab or against targets you are allowed to test.
Exploited in the wild?
Not known None of the sources reports attacks using it so far.
What to do
- Configure the agent startup probe (available in 4.52.0 and later) to hold the pod out of Service endpoints until the agent is ready.1
- Check the agent container spec for SIGSCI_STARTUP_PROBE_LISTENER or SIGSCI_STARTUP_PROBE_FILEPATH together with a startupProbe; if either is missing, the deployment is exposed.1
- Search backend logs for the header X-SigSci-Agent: disabled, and agent logs for 'Config update failed' near pod starts.1
For bug hunters
This is a fail-open design flaw: a security control that allows traffic when its policy engine is not ready. In bug bounty programmes, look for WAF, API gateway or proxy components that can be started or restarted in a state where they pass traffic without inspection. Test whether readiness or health checks actually reflect policy load, and whether error paths or timeouts default to allow. Also check for debug headers or markers that reveal a disabled enforcement state.
What to test
- Restart or scale the WAF sidecar and send attack payloads during startup to see if they reach the backend.
- Block the agent's configuration download (DNS, firewall) and check whether requests are still allowed.
- Inspect response headers and logs for markers such as X-SigSci-Agent: disabled during startup.
- Verify that readiness probes fail until the ruleset is loaded, not just until the socket exists.
Written by bugbounty.wiki with AI from its source. Every statement above comes with a quote we checked against the source it cites (the numbers link to it); anything we could not check was left out. It can still be wrong, so read the coverage before relying on a detail.
Coverage
The article this story is based on. Each headline opens the outlet's own article.
-
1
Full Disclosure
Fastly Next-Gen WAF (Signal Sciences) agent fails open before rules load in Kubernetes sidecar deployments (vendor disputes; CVE pending)“Product: Fastly Next-Gen WAF agent (sigsci-agent) with the NGINX module, Kubernetes sidecar deployment Vendor: Fastly, Inc.”