Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is HTTP Options request insecure

Tags:

rest

http

tomcat

I recently heard from a security audit that HTTP Options is insecure in general and the web-server should not allow it. Can someone explain the reasons why is it so ?

like image 785
dogfish Avatar asked Dec 19 '16 21:12

dogfish


1 Answers

HTTP Options verb can divulge config / debug data on your Web server and as such should only be permitted if it's legitimately needed. Read this post on security stack exchange

https://security.stackexchange.com/questions/21413/how-to-exploit-http-methods

REST APIs make use of Options and I believe it should remain enabled.

like image 116
iainpb Avatar answered Oct 14 '22 17:10

iainpb