CVE-2022-39956 Partial rule set bypass in OWASP ModSecurity Core Rule Set for HTTP multipart requests using character encoding in the Content-Type or Content-Transfer-Encoding header
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianNetwork Appliances
Description
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).
Upgrade path
15 packages: 5 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2022-39956 vendor-advisory
- coreruleset.org issue-tracking patch vendor-advisory
- FEDORA-2022-90708b46e3 vendor-advisory
- FEDORA-2022-85a85c84b3 vendor-advisory
- FEDORA-2022-1fd73a5285 vendor-advisory
- [debian-lts-announce] 20230130 [SECURITY] [DLA 3293-1] modsecurity-crs security update mailing-list third-party-advisory
- GLSA-202305-25 vendor-advisory
- lists.debian.org
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking