CVE-2022-39957 Response body bypass in OWASP ModSecurity Core Rule Set via a specialy crafted charset in the HTTP Accept 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 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.
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-39957 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