2021-03-18 11:23:29 +00:00
|
|
|
id: shopify-takeover
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: shopify takeover detection
|
2022-01-27 09:08:16 +00:00
|
|
|
author: pdteam,philippedelteil
|
2021-03-18 11:23:29 +00:00
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
2022-10-28 22:26:57 +00:00
|
|
|
- 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
|
2022-11-01 10:13:43 +00:00
|
|
|
tags: takeover,hackerone
|
2021-03-18 11:23:29 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
2021-11-08 16:54:03 +00:00
|
|
|
matchers-condition: and
|
2021-03-18 11:23:29 +00:00
|
|
|
matchers:
|
2022-11-17 15:43:27 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- Host != ip
|
|
|
|
|
2021-03-18 11:23:29 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2021-11-08 16:54:03 +00:00
|
|
|
- 'To finish setting up your new web address, go to your domain settings, click "Connect existing domain"'
|
2021-03-18 11:23:29 +00:00
|
|
|
- "Sorry, this shop is currently unavailable."
|
2021-11-08 16:54:03 +00:00
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'shop-not-found'
|
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-01-27 09:08:16 +00:00
|
|
|
- '!contains(host,"myshopify.com")'
|
|
|
|
- '!contains(host,"shopify.com")'
|
|
|
|
condition: and
|