Cloudflare Introduces Full‑Transaction Detection for Its WAF, Correlating Requests & Responses to Confirm Exploits
What Happened — Cloudflare has added two new WAF capabilities: full‑transaction detections that evaluate an HTTP request together with the origin’s response, and response rules that can block a malicious response before it reaches the client. The feature surfaces in Security Analytics, is available to all plans (including Free), and initially covers high‑profile exploits such as the recent php2shell vulnerability.
Cloudflare announced today that its Web Application Firewall is gaining two new capabilities—full‑transaction detections and response rules. The former evaluates each HTTP request together with the origin’s reply, allowing the system to determine not only whether a request appears malicious but also what actually happened when the application processed it. The latter lets customers block the origin’s response before it reaches the client, replacing it with a Cloudflare‑generated block page or a custom HTTP 403 response.
The rollout comes as “frontier” AI models are increasingly uncovering deep‑seated flaws in widely deployed software, a trend highlighted by the recently disclosed php2shell vulnerability. Cloudflare warned that AI‑driven scanners can persistently adapt payloads, chain together vulnerabilities, credentials and permissions, and use the application’s response as feedback to refine attacks. By inspecting both request and response, defenders gain clearer insight into whether an exploit succeeded and can act more decisively.
In traditional WAF operation, request‑level managed or custom rules stop known attack patterns before they reach the origin, but they can also generate false positives that disrupt legitimate traffic. Cloudflare illustrated the limitation with a file‑download scenario: a request that attempts directory traversal (e.g., GET /download?file=../../config/database.ini) can be blocked outright, yet the request alone does not reveal whether the server would actually return the sensitive file. Full‑transaction detection correlates the traversal attempt with response content that resembles a configuration file, providing stronger evidence of data exposure. A response rule can then intercept that reply and serve a Cloudflare block page, preventing the secret from reaching the attacker.
The new detection results are stored in the platform’s metadata fields—cf.waf.signature.response.confidence, cf.waf.signature.response.categories, and cf.waf.signature.response.ref—mirroring the existing request‑level fields. Cloudflare emphasized that detection and mitigation are deliberately separated, giving security teams visibility into findings before they craft policies. The first managed protections built on this capability target the php2shell flaw, and the features are being made generally available to all Cloudflare customers, including those on free plans. Results appear in Security Analytics for investigation, while response‑phase controls can be configured in the dashboard under Security > Security Rules.
Cloudflare has now made both managed and custom transaction‑detection rules available to every plan, free plans included, and says it will continue to prioritize high‑profile vulnerabilities for free users while expanding the catalog for paying customers over time.
All customers receive the full suite of transaction detections through the Cloudflare Managed Response Firewall Default ruleset, which can be deployed with a single click and offers simplified configuration. When a signature matches, the rule blocks the response and serves the standard WAF block page. Users can narrow the scope of these detections—for example, by excluding or limiting them to a particular path—and paying customers may further refine policies by using detection fields in custom response rules.
Custom response rules give customers full control over rule logic. One illustrative rule blocks access to an “/admin” page only when the request lacks an internal‑user header, the origin returns a 200 status, and the content type is HTML, thereby avoiding interference with normal authentication failures or redirects. Every account can create up to three custom response rules that support Log and Block actions, using the same fields and functions available in request‑side custom rules; however, creating rules that inspect the response body is not yet supported.
For paying customers, Cloudflare also exposes the results of attack detections via the cf.waf.signature.response.* fields, which can be combined with other attributes such as hostname, URL path, source IP, or request header to tailor protection. These response fields are being rolled out to all accounts, and users without access are advised to contact their account team. When a managed or custom response rule logs or blocks a transaction, the event appears in the Security Events view, allowing responders to trace the full request context and the specific rule that acted. Request‑only and full‑transaction rules share the same analytics page, and events can be filtered by rule ID. Full‑transaction detection is generally available for any zone that proxies traffic through Cloudflare; customers can confirm coverage in the dashboard under Security > Security Rules and then craft response‑phase policies that suit their applications.
The announcement was posted by Cloudflare representative Daniele Molteni.
Why It Matters for Trust & Control Assurance — This upgrade directly supports the control objective of “continuous monitoring and detection of malicious activity at the application layer,” giving organizations concrete, auditable evidence that exploit attempts were identified and blocked.
Who Is Affected — Any organization that fronts web applications or APIs through Cloudflare – e‑commerce sites, SaaS platforms, media portals, and other internet‑facing services.
Recommended Actions – Review your existing WAF rule set, enable the new full‑transaction detections, map the cf.waf.signature.response.* fields to your audit evidence repository, and test custom response rules in a non‑production environment.
Technical Notes – The detection engine correlates request signatures with response characteristics (status code, headers, body patterns) to confirm exploitation. It currently ships with managed rules for php2shell and will expand to data‑exposure and exfiltration signals. Source: Cloudflare Security Blog