Input validation error in OWASP ModSecurity Core Rule Set (CRS) - CVE-2022-39958

 

Input validation error in OWASP ModSecurity Core Rule Set (CRS) - CVE-2022-39958

Published: February 9, 2023


Vulnerability identifier: #VU72091
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-39958
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass filtration rules.

The vulnerability exists due to insufficient validation of the HTTP Range header field with a small byte range. A remote attacker can exfiltrate small and undetectable sections of data by repeatedly submitting an HTTP Range header field with a small byte range.


Affected software

OWASP ModSecurity Core Rule Set (CRS)
Gentoo Linux
openEuler
Fedora
mod_security
mod_security_crs
www-apache/modsecurity-crs

How to mitigate CVE-2022-39958

Install updates from vendor's website.

OWASP ModSecurity Core Rule Set (CRS) - addressed in versions 3.2.3, 3.3.4
mod_security - addressed in versions 2.9.6-1.fc35, 2.9.6-1.fc36, 2.9.6-1.fc37
mod_security_crs - update to 3.2.2-1
www-apache/modsecurity-crs - update to 3.3.4
mod_security_crs - addressed in versions 3.3.4-1.fc35, 3.3.4-1.fc36, 3.3.4-1.fc37

External References

Related Security Bulletins