35 lines
733 B
YAML
35 lines
733 B
YAML
id: bitbucket-takeover
|
|
|
|
info:
|
|
name: Bitbucket Takeover Detection
|
|
author: pdteam
|
|
severity: high
|
|
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
|
|
|
|
# digest: 490a0046304402205b7987c056997dd8161cbd726a93029f3a2d206d66578330bd5fba78acdbb0b302201841488659a4fbf01a69e02d721787a50df41e386528a826981c64d5c2154306:922c64590222798bb761d5b6d8e72950
|