HTTP OPTIONS and Default page vulnerabilities
Published Jul 05 2020 12:46 PM 83.9K Views
Microsoft

Penetration tools may alert if IIS server is accepting requests with HTTP OPTIONS method. This is because the response to these requests may reveal what other methods are supported by the web server.

 

 

Warning: Disabling OPTIONS may have unintended consequences like CORS preflight requests to break. Please test the applications thoroughly after making the change below.

Follow the steps below to disable OPTIONS method.

  1. Open IIS Manager
  2. Click the server name
  3. Double click on Request Filtering
  4. Go to HTTP Verbs tab
  5. On the right side, click Deny Verb
  6. Type OPTIONS. Click OK

Nedim_0-1593978360292.png

 

 

Penetration tools may also raise an alarm if the default IIS page is still available in your server. This page comes by default when you install Web Server role.

 

Warning: Disabling the default page of a web application may cause unwanted results. Please make sure to test the application thoroughly after following the steps below.

Follow the steps below to disable it so this vulnerability don’t come up in the reports anymore.

  1. Open IIS Manager
  2. Click the server name
  3. Double click on Default Document
  4. On the right side, click “Disable”

Nedim_1-1593978360298.png

 

5 Comments
Version history
Last update:
‎Jul 08 2020 02:08 PM
Updated by: