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-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2020-08-19 14:18:50 +00:00
|
|
|
|
2020-08-19 12:17:24 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2020-08-19 14:18:50 +00:00
|
|
|
- testing-payload
|