35 lines
832 B
YAML
35 lines
832 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
|
|
|
|
# digest: 4b0a00483046022100ed8e5671e88e78354921f9d5fc4dd53263597a735a32bc0be3180fc019be5537022100c7ccbe6fc0cbe69101baf2f452bbea37ba315ebca813795cc0a825c6735a0c26:922c64590222798bb761d5b6d8e72950
|