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