38 lines
705 B
YAML
38 lines
705 B
YAML
id: aws-bucket-takeover
|
|
|
|
info:
|
|
name: AWS Bucket Takeover Detection
|
|
author: pdteam
|
|
severity: high
|
|
reference:
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/36
|
|
tags: takeover,aws,bucket
|
|
metadata:
|
|
max-request: 1
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- Host != ip
|
|
|
|
- type: word
|
|
words:
|
|
- "The specified bucket does not exist"
|
|
|
|
- type: dsl
|
|
dsl:
|
|
- contains(tolower(all_headers), 'x-guploader-uploadid')
|
|
negative: true
|
|
|
|
- type: word
|
|
part: host
|
|
words:
|
|
- "amazonaws.com"
|
|
negative: true
|