CVE-2023-38199

NameCVE-2023-38199
Descriptioncoreruleset (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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4488-1
Debian Bugs1041109

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
modsecurity-crs (PTS)bullseye3.3.0-1+deb11u1vulnerable
bullseye (security)3.3.4-1~deb11u2fixed
bookworm3.3.4-1vulnerable
bookworm (security)3.3.4-1+deb12u1vulnerable
trixie3.3.7-1fixed
trixie (security)3.3.7-1+deb13u1fixed
forky, sid3.3.8-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
modsecurity-crssourcebullseye3.3.4-1~deb11u2DLA-4488-1
modsecurity-crssource(unstable)3.3.5-11041109

Notes

[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)

Search for package or bug name: Reporting problems