Author Topic: allowed http versions mod security  (Read 89 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
allowed http versions mod security
« on: August 28, 2026, 05:57:46 AM »
I get forbidden error when I open the https version of the website

Is this a bug or should I do something manually?


Quote
ModSecurity: Access denied with code 403 (phase 2). Match of "within %{tx.allowed_http_versions}" against "REQUEST_PROTOCOL" required. [file "/usr/local/apache/modsecurity-owasp-old/base_rules/modsecurity_crs_30_http_policy.conf"] [line "78"] [id "960034"] [rev "2"] [msg "HTTP protocol version is not allowed by policy"] [data "HTTP/2.0"] [severity "CRITICAL"] [ver "OWASP_CRS/2.2.9"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/POLICY/PROTOCOL_NOT_ALLOWED"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A6"] [tag "PCI/6.5.10"] [hostname "a b c d.com"] [uri "/wink789/"] [unique_id "apEiQliJww8rVe16qDk28gABRQk"]

Offline
*****
Re: allowed http versions mod security
« Reply #1 on: August 28, 2026, 04:46:54 PM »
You could add 960034 to your global disabled rules...

Offline
*****
Re: allowed http versions mod security
« Reply #2 on: August 28, 2026, 06:20:39 PM »
Curious also why you are running OWASP CRS v2.2.9

v4.29.0 was release about 2 weeks ago.

Offline
****
Re: allowed http versions mod security
« Reply #3 on: August 28, 2026, 09:36:30 PM »
Make sure mod_http2 is updated and disable the mod_security rule 960034 as suggests @overseer.

Check this thread to find how to update mod_http2:
https://forum.centos-webpanel.com/apache/http2-bomb-remote-dos-exploit-hits-nginx-apache-iis-envoy-and-cloudflare/

Offline
*****