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

36 lines
895 B
YAML

id: gitbook-takeover
info:
name: gitbook takeover detection
author: philippedelteil
severity: high
description: gitbook takeover was detected.
reference:
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/259
- https://hackerone.com/reports/223625
metadata:
max-request: 1
tags: takeover,gitbook,hackerone
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
words:
- "If you need specifics, here's the error"
- "Domain not found"
condition: and
extractors:
- type: dsl
dsl:
- cname
# digest: 4a0a00473045022041ce103372a629e4b16b6ba89a114b1dc07cd35f1b61d2bd3a82799f77d470e80221008c10a92f967d9dc1be5454a1bd2c394fbcd8622420546bca2094973683cca974:922c64590222798bb761d5b6d8e72950