| Name | CVE-2023-38199 |
| Description | coreruleset (aka OWASP ModSecurity Core Rule Set) through 3.3.4 does not detect multiple Content-Type request headers on some platforms. This might allow attackers to bypass a WAF with a crafted payload, aka "Content-Type confusion" between the WAF and the backend application. This occurs when the web application relies on only the last Content-Type header. Other platforms may reject the additional Content-Type header or merge conflicting headers, leading to detection as a malformed header. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4488-1 |
| Debian Bugs | 1041109 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| modsecurity-crs (PTS) | bullseye | 3.3.0-1+deb11u1 | vulnerable |
| bullseye (security) | 3.3.4-1~deb11u2 | fixed | |
| bookworm | 3.3.4-1 | vulnerable | |
| bookworm (security) | 3.3.4-1+deb12u1 | vulnerable | |
| trixie | 3.3.7-1 | fixed | |
| trixie (security) | 3.3.7-1+deb13u1 | fixed | |
| forky, sid | 3.3.8-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| modsecurity-crs | source | bullseye | 3.3.4-1~deb11u2 | DLA-4488-1 | ||
| modsecurity-crs | source | (unstable) | 3.3.5-1 | 1041109 |
[bookworm] - modsecurity-crs <no-dsa> (Minor issue)
[buster] - modsecurity-crs <postponed> (Minor issue)
https://github.com/coreruleset/coreruleset/issues/3191
https://github.com/coreruleset/coreruleset/pull/3237
Fixed by: https://github.com/coreruleset/coreruleset/commit/b501f1af4f5317204a87308809a6983b7d522ebb (v4.0.0-rc2)
https://github.com/coreruleset/coreruleset/pull/3253
Fixed by: https://github.com/coreruleset/coreruleset/commit/8b42ff9a2eb1befc8485f7ebf091c4c259a0ae06 (v3.3.5)