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-10 12:19:09 +00:00
|
|
|
# digest: 4b0a00483046022100800b04f4ce1fd3e4172c69ae962d1f36497dae9f92fb9adfa008f59e03b34c57022100eaf82edf3723c0158c2bd6f95e845b39cec747746577fb827de72bf03a2bbbfc:922c64590222798bb761d5b6d8e72950
|