33 lines
635 B
YAML
33 lines
635 B
YAML
id: heroku-takeover
|
|
|
|
info:
|
|
name: Heroku Takeover Detection
|
|
author: 0xPrial,pdteam
|
|
severity: high
|
|
reference:
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/38
|
|
metadata:
|
|
max-request: 1
|
|
tags: takeover,heroku
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- Host != ip
|
|
|
|
- type: word
|
|
words:
|
|
- "herokucdn.com/error-pages/no-such-app.html"
|
|
|
|
- type: word
|
|
words:
|
|
- "<title>No such app</title>"
|
|
- "<title>Heroku | Application Error</title>"
|
|
condition: or
|