39 lines
849 B
YAML
39 lines
849 B
YAML
id: bitbucket-takeover
|
|
|
|
info:
|
|
name: Bitbucket Takeover Detection
|
|
author: pdteam
|
|
severity: high
|
|
description: Bitbucket takeover was detected.
|
|
reference:
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz
|
|
metadata:
|
|
max-request: 1
|
|
tags: takeover
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- Host != ip
|
|
|
|
- type: word
|
|
words:
|
|
- "Repository not found"
|
|
part: body
|
|
|
|
- type: word
|
|
words:
|
|
- "text/plain"
|
|
part: header
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- cname
|
|
# digest: 4b0a00483046022100800b04f4ce1fd3e4172c69ae962d1f36497dae9f92fb9adfa008f59e03b34c57022100eaf82edf3723c0158c2bd6f95e845b39cec747746577fb827de72bf03a2bbbfc:922c64590222798bb761d5b6d8e72950 |