35 lines
868 B
YAML
35 lines
868 B
YAML
id: cargocollective-takeover
|
|
|
|
info:
|
|
name: CargoCollective Takeover Detection
|
|
author: pdteam
|
|
severity: high
|
|
description: CargoCollective takeover was detected.
|
|
reference:
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz/issues/152
|
|
metadata:
|
|
max-request: 1
|
|
tags: takeover,cargocollective
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- Host != ip
|
|
|
|
- type: word
|
|
words:
|
|
- '<div class="notfound">'
|
|
- '404 Not Found<br>'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- "resolve(Host, 'cname')"
|
|
# digest: 4a0a0047304502207891f1026ddf30a2dcef1e667b9e29c941a2b79f0392a0d0ef4cd6d5a7cdc974022100fd75665d6b068730f9b891b0535047a188904f9babb359f3e93a1490025d71f9:922c64590222798bb761d5b6d8e72950 |