keybase-issues icon indicating copy to clipboard operation
keybase-issues copied to clipboard

Web proof is failing when server has ModSecurity with OWASP Core Rule Set

Open tzatko opened this issue 11 years ago • 5 comments

Keybase is unable to get keybase.txt when server uses ModSecurity with Core Rule Set. Reason is that keybase is using GET withouth Accept header.

Related log entry: [Thu Aug 14 08:59:12 2014] [error] [client 91.210.183.86] ModSecurity: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "47"] [id "960015"] [rev "1"] [msg "Request Missing an Accept Header"] [severity "NOTICE"] [ver "OWASP_CRS/2.2.6"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] [hostname "zatko.sk"] [uri "/keybase.txt"] [unique_id "U@xeQFvStUQAAELiCLoAAAA4"]

tzatko avatar Aug 14 '14 08:08 tzatko

Wauw!

This is a very old issue!

Still there... Easy fixable I guess...

Message: Access denied with code 403 (phase 2). Operator EQ matched 0 at REQUEST_HEADERS. [file "/usr/share/modsecurity-crs/activated_rules/modsecurity_crs_21_protocol_anomalies.conf"] [line "47"] [id "960015"] [rev "1"] [msg "Request Missing an Accept Header"] [severity "NOTICE"] [ver "OWASP_CRS/2.2.9"] [maturity "9"] [accuracy "9"] [tag "OWASP_CRS/PROTOCOL_VIOLATION/MISSING_HEADER_ACCEPT"] [tag "WASCTC/WASC-21"] [tag "OWASP_TOP_10/A7"] [tag "PCI/6.5.10"] Action: Intercepted (phase 2)

frenck avatar Dec 15 '16 20:12 frenck

Yeah. The issue is still there.

tzatko avatar Mar 02 '17 15:03 tzatko

and what is the fix to this?

hillaryinnocent avatar Sep 20 '23 13:09 hillaryinnocent

@frenck do you have a solution to this issue? please share

hillaryinnocent avatar Oct 06 '23 08:10 hillaryinnocent

Sorry, I'm not using Keybase actively anymore.

../Frenck

frenck avatar Oct 06 '23 09:10 frenck