27 lines
513 B
YAML
27 lines
513 B
YAML
id: put-method-enabled
|
|
|
|
info:
|
|
name: PUT method enabled
|
|
author: xElkomy
|
|
severity: high
|
|
reference: https://portswigger.net/kb/issues/00100900_http-put-method-is-enabled
|
|
tags: injection
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
PUT /testing-put.txt HTTP/1.1
|
|
Content-Type: text/plain
|
|
|
|
{{randstr}}
|
|
|
|
- |
|
|
GET /testing-put.txt HTTP/1.1
|
|
Content-Type: text/plain
|
|
|
|
req-condition: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'contains(body_2, "{{randstr}}")'
|