7.3high
Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept header
- Severity
- 7.3high CVSS:3.1 by NCSC.ch
- Exploit likelihood
- 1.06% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- NCSC.ch
Description
The OWASP ModSecurity Core Rule Set (CRS) is affected by a response body bypass. A client can issue an HTTP Accept header field containing an optional "charset" parameter in order to receive the response in an encoded form. Depending on the "charset", this response can not be decoded by the web application firewall. A restricted resource, access to which would ordinarily be detected, may therefore bypass detection. 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| OWASP ModSecurity Core Rule Set | 3.0.x, 3.1.x, from unspecified up to 3.2.1, from unspecified up to 3.3.2 | CVE List |
| owasp owasp_modsecurity_core_rule_set | from 3.0.0 before 3.2.2, from 3.3.0 before 3.3.3 | NVD |
| fedoraproject fedora | 35, 36, 37 | NVD |
| debian debian_linux | 10.0 | NVD |
All scores
| NCSC.ch | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
What each source says
CVE List
The OWASP ModSecurity Core Rule Set (CRS) is affected by a response body bypass. A client can issue an HTTP Accept header field containing an optional "charset" parameter in order to receive the response in an encoded form. Depending on the "charset", this response can not be decoded by the web application firewall. A restricted resource, access to which would ordinarily be detected, may therefore bypass detection. 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.
NVD (es)
OWASP ModSecurity Core Rule Set (CRS) esta afectado por una omisión del cuerpo de respuesta. Un cliente puede emitir un campo de encabezado HTTP Accept que contenga un parámetro opcional "charset" para recibir la respuesta de forma codificada. En función del "charset", esta respuesta puede no ser descodificada por el firewall de la aplicación web. Por lo tanto, un recurso restringido, cuyo acceso sería detectado normalmente, puede omitir la detección. Están afectadas las versiones 3.0.x y 3.1.x del CRS heredado, así como las versiones 3.2.1 y 3.3.2 actualmente soportadas. Es recomendado a integradores y usuarios actualizar a versiones 3.2.2 y 3.3.3 respectivamente
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-39957 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2022-39957 changed 2026-06-17 | Public domain |