AWS Security ChangesHomeSearch

AWS waf: Clarified exemption URI matching semantics in Anti-DDoS rule group

Service: waf · 2026-10-09 · Documentation medium

File: waf/latest/developerguide/aws-managed-rule-groups-anti-ddos.md · Type: network

Summary

Documented that exempt URI regexes are matched against the host plus normalized URI path (no scheme or query string), that a leading-slash anchor like ^/api/ won't match since /api/ is normalized to /api, and that only GET requests can receive this label.

Security assessment

This adds precise behavioral guidance for users configuring WAF Anti-DDoS exemption URIs, warning that anchor/slash assumptions won't match and that only GET is challengeable, which helps prevent overly broad or ineffective exempt rules that could weaken DDoS protections; it documents existing behavior rather than fixing a disclosed vulnerability.

Evidence

The rule group matches each exempt URI regular expression against the request's host followed by its normalized URI path (the scheme and query string aren't included), so a pattern anchored to the start of the path such as `^/api/` doesn't match. The path is normalized first, so `/api/` is evaluated as `/api`. Only `GET` requests are challengeable; the rule group never applies this label to requests that use other methods.

Diff

diff --git a/waf/latest/developerguide/aws-managed-rule-groups-anti-ddos.md b/waf/latest/developerguide/aws-managed-rule-groups-anti-ddos.md
index fdd9b33..73647bf 100644
--- a//waf/latest/developerguide/aws-managed-rule-groups-anti-ddos.md
+++ b//waf/latest/developerguide/aws-managed-rule-groups-anti-ddos.md
@@ -147,0 +148,2 @@ In addition to the general label, the rule group adds the following labels that
+The rule group matches each exempt URI regular expression against the request's host followed by its normalized URI path (the scheme and query string aren't included), so a pattern anchored to the start of the path such as `^/api/` doesn't match. The path is normalized first, so `/api/` is evaluated as `/api`. Only `GET` requests are challengeable; the rule group never applies this label to requests that use other methods.
+