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

27 lines
521 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
2021-03-12 08:57:14 +00:00
reference: https://portswigger.net/kb/issues/00100900_http-put-method-is-enabled
tags: injection
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
2021-03-11 14:17:22 +00:00
req-condition: true
2020-08-19 12:17:24 +00:00
matchers:
- type: dsl
dsl:
2021-03-24 23:28:50 +00:00
- 'contains(body_2, "testing-payload")'