nuclei-templates/http/takeovers/wasabi-bucket-takeover.yaml

43 lines
1.1 KiB
YAML

id: wasabi-bucket-takeover
info:
name: wasabi Bucket Takeover - Detection
author: philippedelteil
severity: high
description: |
wasabi Bucket takeover was detected.
reference:
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/417
metadata:
verified: true
max-request: 1
shodan-query: "wasabis3"
tags: takeover,wasabi,bucket
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- contains(tolower(header), "wasabis3")
condition: and
- type: word
words:
- "The specified bucket does not exist"
- "BucketName"
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- '<li>BucketName: (.*?)</li>'
- '<BucketName>(.*?)</BucketName>'
# digest: 4a0a0047304502206da7f849b4a73150729387dabea978d2cb55ac9b16a7c762d884c60b823b303a022100e135e6f16f18ea6ddf7bdfd6854219e9f52059cb5f919bef93643495475c90d1:922c64590222798bb761d5b6d8e72950