Home » Vulnerabilities Knowledge Base » Vulnerable HTTP PUT Method
If HTTP PUT request gives response as "201 Create" then file in PUT request was successfully created on specified URI.
If HTTP PUT request gives response as "200 OK" then file in PUT request was successfully modified on specified URI if it was in accordance with the file type present on server.
RewriteCond %{REQUEST_METHOD} ^(TRACE|PUT|OPTIONS}
RewriteRule .* - [F]
<security-constraint>
<web-resource-collection>
<web-resource-name><strong>restricted methods</strong></web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>PUT</http-method>
<http-method>POST</http-method>
<http-method>DELETE</http-method>
<http-method>OPTIONS</http-method>
<http-method>TRACE</http-method>
</web-resource-collection>
<auth-constraint />
</security-constraint>
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...
Content Sniffing
Certain browsers, try to determine the content type and encoding of the response even when these properties are defined correctly...