Web Server returns a valid response with junk HTTP methods,

Post Reply
User avatar
sonik
Site Admin
Posts: 36
Joined: 12 Nov 2018, 22:12

Web Server returns a valid response with junk HTTP methods,

Post by sonik » 18 Aug 2019, 01:57

If you have checked your website for vulnerabilities and found:
Web Server returns a valid response with junk HTTP methods, this may cause false positives.
You can go and edit your httpd.conf file and add to your vhosts this lines:

Code: Select all

RewriteEngine On
RewriteCond %{REQUEST_METHOD} !^(GET|POST|HEAD)
RewriteRule .* - [R=405,L]
After restart apache and check againt it should make you happy :)

Post Reply