Mageia 2024-0070: apache-mod_security-crs security update
Summary
A SQL injection bypass (aka PL1 bypass) exists in OWASP ModSecurity Core Rule Set (owasp-modsecurity-crs) through v3.1.0-rc3 via {`a`b} where a is a special function name (such as "if") and b is the SQL statement to be executed. (CVE-2018-16384) Modsecurity owasp-modsecurity-crs 3.2.0 (Paranoia level at PL1) has a SQL injection bypass vulnerability. Attackers can use the comment characters and variable assignments in the SQL syntax to bypass Modsecurity WAF protection and implement SQL injection attacks on Web applications. (CVE-2020-22669) OWASP ModSecurity Core Rule Set 3.1.x before 3.1.2, 3.2.x before 3.2.1, and 3.3.x before 3.3.2 is affected by a Request Body Bypass via a trailing pathname. (CVE-2021-35368) The OWASP ModSecurity Core Rule Set (CRS) is affected by a partial rule set bypass by submitting a specially crafted HTTP Content-Type header field that indicates multiple character encoding schemes. A vulnerable back-end can potentially be exploited by declaring multiple Con...
References
- https://bugs.mageia.org/show_bug.cgi?id=30977
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/C4Q7DCCE37GT5ZBJOWP4NGUD4L3FAMDB/
- https://coreruleset.org/20220919/crs-version-3-3-3-and-3-2-2-covering-several-cves/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/6MS5GMNYHFFIBWLJW7N3XAD24SLF3PFZ/
- https://coreruleset.org/20210630/cve-2021-35368-crs-request-body-bypass/
- https://www.debian.org/lts/security/2023/dla-3293
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16384
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-22669
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-35368
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39955
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39956
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39957
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39958
Resolution
MGASA-2024-0070 - Updated apache-mod_security-crs packages fix security vulnerabilities
SRPMS
- 9/core/apache-mod_security-crs-3.3.5-1.mga9