Auth bypass in Owasp Modsecurity Core Rule Set
CVE-2022-39955
The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass by submitting a specially crafted HTTP Content-Type header field that indicates multiple character encoding schemes. A vulnerable back-end can potentially be exploited by declaring multiple Content-Type "charset" names and therefore bypassing the configurable CRS Content-Type header "charset" allow list. An encoded payload can bypass CRS detection this way and may then be decoded by the backend. 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 to upgrade to 3.2.2 and 3.3.3 respectively.
Vulnerability class: Broken Access Control
EPSS: 0.012 (65.9th 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-39955?
- CVE-2022-39955 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-39955?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2022-39955 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.