2 solutions as you’ve tried before RewriteCond & RewriteRule is one solution, another is limit & limitExcpet. and please note that even disabling the specific
method(s) in these directives will not remove that method from the Supported Methods line (allow) in an OPTIONS request.
Tks & b.rgds -- Chris 发件人: surodip.patra@xxxxxxxxxxxxx [mailto:surodip.patra@xxxxxxxxxxxxx]
Hi Apache, I have the below vulnerability: CONNECT Method Allowed in HTTP Server Or HTTP Proxy Server Vulnerability: Tried solutions:
a.
Commented the connect module in httpd.conf file :
LoadModule proxy_connect_module modules/mod_proxy_connect.so
b.
Changed in httpd-ssl.conf file # Load Rewrite engine LoadModule rewrite_module path/to/apache/modules/mod_rewrite.so #Enable Rewrite engine RewriteEngine On
# Disable TRACE, TRACK, CONNECT, OPTIONS RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK|CONNECT|OPTIONS) RewriteRule .* - [F] But no solutions worked. Can anyone help me to get rid of this vulnerability? Thanks & Regards, Surodip Patra +91-9739883456
|