Paper/Archive/CVE-2022-39955

CVE-2022-39955

OWASP ModSecurity Core Rule Set — Partial rule set bypass in OWASP ModSecurity Core Rule Set by submitting a specially crafted HTTP Content-Type header

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
ModSecurity Core Rule Set3.0.x–CNA
ModSecurity Core Rule Set3.1.x–CNA
ModSecurity Core Rule Setunspecified – 3.2.1–CNA
ModSecurity Core Rule Setunspecified – 3.3.2–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NCSC.ch (CNA)7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

refcoreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cvesadvisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PD56EAYNGB6E6QQH62LAYCONOP6OH5DZadvisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YPQ6CCMX3MU4A7MTCGQJA7VMJW3IQDXVadvisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HL2L2GF7GOCWPMJZDUE5OXDSXHGG3XUJreflists.debian.org/debian-lts-announce/2023/01/msg00033.htmladvisorysecurity.gentoo.org/glsa/202305-25reflists.debian.org/debian-lts-announce/2025/08/msg00004.html