id: frontify-takeover

info:
  name: frontify takeover detection
  author: pdteam
  severity: high
  description: frontify takeover was detected.
  reference:
    - https://github.com/EdOverflow/can-i-take-over-xyz/issues/170
  metadata:
    max-request: 1
  tags: takeover,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: dsl
        dsl:
          - Host != ip

      - type: word
        words:
          - 404 - Page Not Found
          - Oops… looks like you got lost
        condition: and

    extractors:
      - type: dsl
        dsl:
          - cname
# digest: 490a0046304402201c0ec49910c523477ed29cf46407dd0f4bd59e155470b14046edeb894647e5bf022048585e573ab5fcdc0ea5d59f337e32d714852e42b4283989b7460d91d860dce3:922c64590222798bb761d5b6d8e72950