Description
OWASP Coraza through 3.8.1 contains a request body inspection bypass that allows unauthenticated remote attackers to evade JSON and XML body processing via leading Unicode whitespace in Content-Type. Attackers can prefix application/json or XML media types with a character such as U+00A0 so recommended rules 200000, 200001 and 200006 fail, delivering uninspected payloads to backends using mime.ParseMediaType.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OWASP | Coraza | ≤ 3.8.1 | — |
References
- https://github.com/corazawaf/coraza/blob/v3.8.1/coraza.conf-recommended#L31-L45 technical-description
- https://github.com/corazawaf/coraza/blob/v3.8.1/internal/corazawaf/transaction.go#L395-L417 technical-description
- VulnCheck Advisory: OWASP Coraza through 3.8.1 Request Body Inspection Bypass via Content-Type Unicode Whitespace third-party-advisory