AWS Security ChangesHomeSearch

AWS waf: Add AWS WAF rules for Apache HTTP/2 and Java4Shell CVEs

Service: waf · 2026-11-18 · Security-related high

File: waf/latest/developerguide/aws-managed-rule-groups-baseline.md · Type: rce · CVE: CVE-2026-119618, CVE-2026-114938

Summary

Adds four new rules to the AWS Managed Rules baseline (known-bad-inputs) rule group: ApacheMod_HTTP2 for HTTP/2 exploitation patterns, and Java4Shell_BODY, Java4Shell_QUERYARGUMENTS, and Java4Shell_HEADER for request body, query parameter, and header inspection, including oversize-body handling notes.

Security assessment

The diff explicitly names two CVEs and adds managed WAF rules that detect exploitation attempts against them (HTTP/2 request patterns and Java deserialization/Java4Shell-style payloads in body, query arguments, and headers), directly addressing known vulnerabilities.

Evidence

+`ApacheMod_HTTP2` |  Inspects HTTP/2 requests for patterns that indicate exploitation of CVE-2026-119618. Rule action: Count Label: `awswaf:managed:aws:known-bad-inputs:ApacheMod_HTTP2`

Diff

diff --git a/waf/latest/developerguide/aws-managed-rule-groups-baseline.md b/waf/latest/developerguide/aws-managed-rule-groups-baseline.md
index 9fc10ff..baa2b78 100644
--- a//waf/latest/developerguide/aws-managed-rule-groups-baseline.md
+++ b//waf/latest/developerguide/aws-managed-rule-groups-baseline.md
@@ -107,0 +108,4 @@ Rule name | Description and label
+`ApacheMod_HTTP2` |  Inspects HTTP/2 requests for patterns that indicate exploitation of CVE-2026-119618. Rule action: Count Label: `awswaf:managed:aws:known-bad-inputs:ApacheMod_HTTP2`  
+`Java4Shell_BODY` |  Inspects the request body for patterns that indicate exploitation of CVE-2026-114938. WarningThis rule only inspects the request body up to the body size limit for the protection pack (web ACL) and resource type. For Application Load Balancer and AWS AppSync, the limit is fixed at 8 KB. For CloudFront, API Gateway, Amazon Cognito, App Runner, Verified Access, and Amazon Bedrock AgentCore Gateway, the default limit is 16 KB and you can increase the limit up to 64 KB in your protection pack (web ACL) configuration. This rule uses the `Continue` option for oversize content handling. For more information, see [Oversize web request components in AWS WAF](./waf-oversize-request-components.html).  Rule action: Count Label: `awswaf:managed:aws:known-bad-inputs:Java4Shell_Body`  
+`Java4Shell_QUERYARGUMENTS` |  Inspects the values of all query parameters for patterns that indicate exploitation of CVE-2026-114938. Rule action: Count Label: `awswaf:managed:aws:known-bad-inputs:Java4Shell_QueryArguments`  
+`Java4Shell_HEADER` |  Inspects the request headers for patterns that indicate exploitation of CVE-2026-114938. Rule action: Count Label: `awswaf:managed:aws:known-bad-inputs:Java4Shell_Header`