49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
id: shopify-takeover
|
|
|
|
info:
|
|
name: shopify takeover detection
|
|
author: pdteam,philippedelteil,Imjust0
|
|
severity: high
|
|
description: shopify takeover was detected.
|
|
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
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- cname
|
|
# digest: 490a0046304402207aac1f28832a6a49c0ccf1d311b0ab7609cd47c6e9885956cbf1523fffa2b76f0220359220005b426a8a9777faec36abe58bed2e53e8a0cebc644c4a70231be14fb3:922c64590222798bb761d5b6d8e72950 |