BitBucket Client ID
ID: bitbucket-clientid
Severity: info
Author: DhiyaneshDK
Tags: bitbucket,exposure,tokens,clientid
Description
Section titled “Description”YAML Source
Section titled “YAML Source”id: bitbucket-clientid
info: name: BitBucket Client ID author: DhiyaneshDK severity: info reference: - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bitbucket-client-id.yaml - https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bitbucket-client-id.go metadata: verified: true max-request: 1 tags: bitbucket,exposure,tokens,clientid
http: - method: GET path: - "{{BaseURL}}"
extractors: - type: regex part: body regex: - (?i)(?:bitbucket)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)# digest: 490a0046304402201654ce31e3610f943b2be9deb8956c8aa040bd1db7f56cb814a12062b2d791fd02205658da81a53266a82efc3f63591034191031789c94d4cb7c21a0e85a31c135ab:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/exposures/tokens/bitbucket/bitbucket-clientid.yaml"