Skip to content

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

CriticalCVSS 9.8 EPSS 1.5%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

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.

Upgrade path

15 packages: 5 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/modsecurity-crs(Ubuntu 16.04) = 2.2.9-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 18.04) = 3.0.0-3; = 3.0.2-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 20.04) = 3.1.1-1; = 3.2.0-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 22.04) = 3.3.0-1; = 3.3.2-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 24.04) = 3.3.5-1; = 3.3.5-2; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 25.10) = 3.3.7-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 26.04) = 3.3.7-1; = 3.3.8-1; All versions No fix listed No fix yet
ubuntu/modsecurity-crs(Ubuntu 26.10) = 3.3.8-1; = 3.3.9-1; All versions No fix listed No fix yet
debian/modsecurity-crs(Debian 12) < 3.3.4-1 3.3.4-1 Fixed
debian/modsecurity-crs(Debian 13) < 3.3.4-1 3.3.4-1 Fixed
debian/modsecurity-crs(Debian 14) < 3.3.4-1 3.3.4-1 Fixed
owasp ModSecurity Core Rule Set <= 3.2.1; <= 3.3.2; = 3.0.x; = 3.1.x after 3.2.1, 3.3.2 Fixed
owasp modsecurity core rule set >= 3.0.0, < 3.2.2; >= 3.3.0, < 3.3.3 3.2.2, 3.3.3 Fixed
debian linux = 10.0 No fix listed Versions listed
fedoraproject fedora = 35; = 36; = 37 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
owasp ModSecurity Core Rule Set = 3.0.x No fix listed
owasp ModSecurity Core Rule Set = 3.1.x No fix listed
owasp ModSecurity Core Rule Set <= 3.2.1 No fix listed
owasp ModSecurity Core Rule Set <= 3.3.2 No fix listed
ubuntu/modsecurity-crs(Ubuntu:22.04) All versions No fix listed
owasp modsecurity core rule set >= 3.0.0, < 3.2.2 3.2.2
owasp modsecurity core rule set >= 3.3.0, < 3.3.3 3.3.3
fedoraproject fedora = 35 No fix listed
fedoraproject fedora = 36 No fix listed
fedoraproject fedora = 37 No fix listed
debian linux = 10.0 No fix listed
ubuntu/modsecurity-crs(Ubuntu:24.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.10) All versions No fix listed
debian/modsecurity-crs(Debian:12) < 3.3.4-1 3.3.4-1
debian/modsecurity-crs(Debian:14) < 3.3.4-1 3.3.4-1
debian/modsecurity-crs(Debian:13) < 3.3.4-1 3.3.4-1
ubuntu/modsecurity-crs(Ubuntu:16.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:16.04) = 2.2.9-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:18.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:18.04) = 3.0.0-3 No fix listed
ubuntu/modsecurity-crs(Ubuntu:18.04) = 3.0.2-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:20.04) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:20.04) = 3.1.1-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:20.04) = 3.2.0-1 No fix listed
Show 10 more
ProductAffected versionsFixed in
ubuntu/modsecurity-crs(Ubuntu:22.04) = 3.3.0-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:22.04) = 3.3.2-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:24.04) = 3.3.5-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:24.04) = 3.3.5-2 No fix listed
ubuntu/modsecurity-crs(Ubuntu:25.10) All versions No fix listed
ubuntu/modsecurity-crs(Ubuntu:25.10) = 3.3.7-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.10) = 3.3.8-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.10) = 3.3.9-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.04) = 3.3.7-1 No fix listed
ubuntu/modsecurity-crs(Ubuntu:26.04) = 3.3.8-1 No fix listed

References