Advisories

UWAS before 0.11.16 WAF Body-Scan Bypass via Content-Type

Go back
Severity
medium
Date
Affecting
  • uwas < 0.11.16

CWE
  • CWE-807 Reliance on Untrusted Inputs in a Security Decision
  • CWE-183 Permissive List of Allowed Inputs
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Credit
Lazizbek Djurayev (Haad TC)
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.