Auth bypass in Owasp Modsecurity Core Rule Set
CVE-2022-39956
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).
Vulnerability class: Broken Access Control
EPSS: 0.010 (61.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Owasp Modsecurity Core Rule Set — versions 3.0.x, 3.1.x, unspecified
- Owasp Owasp_modsecurity_core_rule_set
- Debian Debian_linux — versions 10.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- vulnerability@ncsc.ch (Patch, Vendor Advisory)
- vulnerability@ncsc.ch (vendor-advisory)
- vulnerability@ncsc.ch (vendor-advisory)
- vulnerability@ncsc.ch (vendor-advisory)
- vulnerability@ncsc.ch (mailing-list, Mailing List, Third Party Advisory)
- vulnerability@ncsc.ch (vendor-advisory)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-39956?
- CVE-2022-39956 is a high-severity vulnerability in Owasp Modsecurity Core Rule Set, classified under Incorrect Authorization. CVSS score: 7.3/10. Published 2022-09-20.
- How severe is CVE-2022-39956?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2022-39956 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.