CVE-2022-39956: Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding header
A flaw was found in the OWASP ModSecurity Core Rule Set. A payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding multipart MIME header fields allows HTTP multipart requests to bypass detection.
Other sources
The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass for HTTP multipart requests by submitting a payload that uses a character encoding scheme via the Content-Type or the deprecated Content-Transfer-Encoding multipart MIME header fields that will not be decoded and inspected by the web application firewall engine and the rule set. The multipart payload will therefore bypass detection. A vulnerable backend that supports these encoding schemes can potentially be exploited. The legacy CRS versions 3.0.x and 3.1.x are affected, as well as the currently supported versions 3.2.1 and 3.3.2. Integrators and users are advised upgrade to 3.2.2 and 3.3.3 respectively. The mitigation against these vulnerabilities depends on the installation of the latest ModSecurity version (v2.9.6 / v3.0.8).
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is CVE-2022-39956?
CVE-2022-39956 is a vulnerability in the OWASP ModSecurity Core Rule Set that allows for a partial rule set bypass in HTTP multipart requests.
What is the severity of CVE-2022-39956?
CVE-2022-39956 has a severity rating of 9.8 (Critical).
How does CVE-2022-39956 affect OWASP ModSecurity Core Rule Set?
CVE-2022-39956 affects the OWASP ModSecurity Core Rule Set by allowing a bypass for HTTP multipart requests using certain payload character encoding schemes.
Which versions of OWASP ModSecurity Core Rule Set are affected by CVE-2022-39956?
Versions 3.0.0 to 3.2.2 and versions 3.3.0 to 3.3.3 of the OWASP ModSecurity Core Rule Set are affected by CVE-2022-39956.
How can I fix CVE-2022-39956?
To fix CVE-2022-39956, it is recommended to update to version 3.2.3 or higher for versions 3.0.0 to 3.2.2, and update to version 3.3.4 or higher for versions 3.3.0 to 3.3.3 of the OWASP ModSecurity Core Rule Set.