Keeping in mind that GET and POST methods are used to request information from a web server, but as the HTTP protocol allows several others including HEAD, PUT, DELETE, TRACE, OPTIONS, and CONNECT.Some of these can cause potential security risks also right ?
So, can we try something like this which will even include our triggered vulnerability " Web server allows HTTP method DELETE" :
Hi Team,
Can the below Irule can be used to mitigate the Vulnerability:" Web server allows HTTP method DELETE"
when RULE_INIT { set sec_http_methods [list “CONNECT” “DELETE” “HEAD” “OPTIONS” “PUT” “TRACE”] }
when HTTP_REQUEST { if { [matchclass [HTTP::method] equals $::sec_http_methods] } { reject } }
Thanks and Regards Parveez