nuclei-templates/misconfiguration/put-method-enabled.yaml

27 lines
501 B
YAML
Raw Normal View History

2020-08-19 14:18:50 +00:00
id: put-method-enabled
2020-08-19 12:17:24 +00:00
info:
2020-08-19 14:18:50 +00:00
name: PUT method enabled
2020-08-19 12:17:24 +00:00
author: xElkomy
severity: high
2020-08-19 14:18:50 +00:00
# https://portswigger.net/kb/issues/00100900_http-put-method-is-enabled
2020-08-19 12:17:24 +00:00
requests:
- raw:
- |
2020-08-19 14:18:50 +00:00
PUT /testing-put.txt HTTP/1.1
2020-08-19 12:17:24 +00:00
Content-Type: text/plain
2020-08-19 14:33:55 +00:00
2020-08-19 14:18:50 +00:00
testing-payload
- |
GET /testing-put.txt HTTP/1.1
2020-08-19 12:17:24 +00:00
Content-Type: text/plain
2020-08-19 14:18:50 +00:00
2020-08-19 12:17:24 +00:00
matchers:
- type: dsl
name: multi-req
dsl:
- 'contains(body_2, "testing-payload") == true'