UWAS before 0.11.16 WAF Body-Scan Bypass via Content-Type
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| uwaserveruwas |
< 0.11.16→ 0.11.16 |
0.11.16 |
Original description The description as published by the source.
UWAS before 0.11.16 contains a WAF bypass vulnerability in the isAPContentType() function within internal/middleware/security.go that allows unauthenticated attackers to evade SQL injection, XSS, and shell/RCE body pattern detection by setting the Content-Type header to application/json, multipart/form-data, or other exempted types. Attackers can relabel the Content-Type of malicious requests to skip WAF body scanning entirely, causing the unfiltered payload to pass through byte-for-byte to the backend application without being logged as a WAF event.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- report github.com
- web github.com