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
|
2023-12-22 08:59:06 +00:00
|
|
|
description: Bitbucket takeover was detected.
|
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
|
2024-07-10 11:31:30 +00:00
|
|
|
|
2024-07-08 12:16:52 +00:00
|
|
|
extractors:
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2024-07-17 14:38:10 +00:00
|
|
|
- cname
|
2024-07-17 14:40:22 +00:00
|
|
|
# digest: 4b0a00483046022100f81ba9be1225350b670f5e459895832998d28401e4af1cea4dfea796058af766022100eb4f1471f8e05dc4ff5e4f58b93dfc2a1fbd15b08f818633d8e523a51627d2d3:922c64590222798bb761d5b6d8e72950
|