2021-03-18 11:23:29 +00:00
|
|
|
id: bitbucket-takeover
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Bitbucket Takeover Detection
|
2021-06-09 12:20:56 +00:00
|
|
|
author: pdteam
|
2021-03-18 11:23:29 +00:00
|
|
|
severity: high
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/EdOverflow/can-i-take-over-xyz
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: takeover
|
2021-03-18 11:23:29 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-03-18 11:23:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
2021-05-30 22:04:10 +00:00
|
|
|
matchers-condition: and
|
2021-03-18 11:23:29 +00:00
|
|
|
matchers:
|
2022-11-17 15:43:27 +00:00
|
|
|
- type: dsl
|
|
|
|
dsl:
|
|
|
|
- Host != ip
|
|
|
|
|
2021-03-18 11:23:29 +00:00
|
|
|
- type: word
|
|
|
|
words:
|
2021-06-06 06:37:19 +00:00
|
|
|
- "Repository not found"
|
2021-05-30 22:04:10 +00:00
|
|
|
part: body
|
|
|
|
|
2021-05-30 22:05:34 +00:00
|
|
|
- type: word
|
2021-05-30 22:04:10 +00:00
|
|
|
words:
|
2021-06-06 06:37:19 +00:00
|
|
|
- "text/plain"
|
2023-10-14 11:27:55 +00:00
|
|
|
part: header
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402205b7987c056997dd8161cbd726a93029f3a2d206d66578330bd5fba78acdbb0b302201841488659a4fbf01a69e02d721787a50df41e386528a826981c64d5c2154306:922c64590222798bb761d5b6d8e72950
|