Content-Type Confusion Vulnerability in OWASP ModSecurity Core Rule Set
CVE-2023-38199
9.8CRITICAL
What is CVE-2023-38199?
The OWASP ModSecurity Core Rule Set prior to version 3.3.4 is susceptible to a vulnerability that allows multiple Content-Type request headers to go undetected on specific platforms. This oversight can enable attackers to bypass Web Application Firewalls (WAFs) by exploiting the 'Content-Type confusion' between the WAF and the backend application. The issue arises when the web application considers only the last Content-Type header, whereas other platforms might reject or merge additional conflicting headers, leading to detection failures. This vulnerability poses significant risks for web applications relying on proper header validation to ensure security.
