id: helpdocs-takeover
info:
name: HelpDocs Takeover Detection
author: philippedelteil
severity: high
reference:
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/402
metadata:
max-request: 1
tags: takeover,helpdocs,vuln
http:
- method: GET
path:
- "{{BaseURL}}"
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: dsl
dsl:
- Host != ip
- type: word
part: body
words:
- "You've tried to access an account/page that does not exist"
extractors:
- type: dsl
dsl:
- cname
# digest: 490a0046304402205a458b6fa0f843805497bf44190cd9066f3e29475971f561014c03f26f70005302202ea4608bf8ef7655a948cc6c9963bd517190cb8e54137129a62096c0f8a93d6c:922c64590222798bb761d5b6d8e72950