nuclei-templates/http/takeovers/shopify-takeover.yaml

45 lines
1.3 KiB
YAML

id: shopify-takeover
info:
name: shopify takeover detection
author: pdteam,philippedelteil,Imjust0
severity: high
reference:
- https://medium.com/@thebuckhacker/how-to-do-55-000-subdomain-takeover-in-a-blink-of-an-eye-a94954c3fc75
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/32
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/46
- https://hackerone.com/reports/1711890
metadata:
max-request: 1
tags: takeover,hackerone
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
words:
- 'To finish setting up your new web address, go to your domain settings, click "Connect existing domain"'
- "Sorry, this shop is currently unavailable."
- "Sorry, this store is currently unavailable."
condition: or
- type: word
words:
- 'shop-not-found'
- type: dsl
dsl:
- '!contains(host,"myshopify.com")'
- '!contains(host,"shopify.com")'
condition: and
# digest: 490a00463044022067aea8e26a3f4c0d13f77755424f8818dd8f425ee383d39e0a6a93f9c8b4f21c02200eb1e3964c91d1b6e6cee1ff5828e6e635ae80d1db2472524ede6206ebb32f4e:922c64590222798bb761d5b6d8e72950