32 lines
539 B
YAML
32 lines
539 B
YAML
id: bitbucket-takeover
|
|
|
|
info:
|
|
name: Bitbucket Takeover Detection
|
|
author: pdteam
|
|
severity: high
|
|
reference:
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz
|
|
tags: takeover
|
|
metadata:
|
|
max-request: 1
|
|
|
|
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 |