nuclei-templates/http/exposures/tokens/bitbucket/bitbucket-clientsecret.yaml

27 lines
936 B
YAML
Raw Normal View History

2023-07-14 11:42:53 +00:00
id: bitbucket-clientsecret
info:
name: BitBucket Client Secret
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bitbucket-client-secret.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bitbucket-client-secret.go
metadata:
verified: true
2023-10-14 11:27:55 +00:00
max-request: 1
2023-07-14 11:42:53 +00:00
tags: bitbucket,exposure,tokens,secret
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
2023-10-14 11:27:55 +00:00
- (?i)(?:bitbucket)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a0047304502201bd436d174f27534d4594a4ea642e54e36470fa98100e4a1edce4e547a75dcf3022100edbdfa25187a3234688576073b9eeace692ece7dd8c1000d51aea0c2cff62b7b:922c64590222798bb761d5b6d8e72950