nuclei-templates/http/takeovers/bitbucket-takeover.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: 4b0a00483046022100f81ba9be1225350b670f5e459895832998d28401e4af1cea4dfea796058af766022100eb4f1471f8e05dc4ff5e4f58b93dfc2a1fbd15b08f818633d8e523a51627d2d3:922c64590222798bb761d5b6d8e72950